summaryrefslogtreecommitdiff
path: root/range.rb
diff options
context:
space:
mode:
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