summaryrefslogtreecommitdiff
path: root/range.rb
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>2011-04-28 03:42:37 +0100
committerKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>2011-04-28 03:42:37 +0100
commit0bd7550336df4d63bb957b742bb8caaa9f310355 (patch)
treeeb0f611895cb9d823922ee36e7c4d44fa5196151 /range.rb
parent79191fc12751405cebaa56e98d56ae159508743f (diff)
Minor changes.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Diffstat (limited to 'range.rb')
-rw-r--r--range.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/range.rb b/range.rb
index 0c513ef..a6a9f22 100644
--- a/range.rb
+++ b/range.rb
@@ -7,6 +7,7 @@ module Puppet::Parser::Functions
EOS
) do |arguments|
+ # We support more than one argument but at least one is mandatory ...
raise(Puppet::ParseError, "range(): Wrong number of " +
"arguments given (#{arguments.size} for 1)") if arguments.size < 1