summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/count.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/count.rb')
-rw-r--r--lib/puppet/parser/functions/count.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/count.rb b/lib/puppet/parser/functions/count.rb
index 52de1b8..cef2637 100644
--- a/lib/puppet/parser/functions/count.rb
+++ b/lib/puppet/parser/functions/count.rb
@@ -7,8 +7,7 @@ If called with only an array it counts the number of elements that are not nil/u
) do |args|
if (args.size > 2) then
- raise(ArgumentError, "count(): Wrong number of arguments "+
- "given #{args.size} for 1 or 2.")
+ raise(ArgumentError, "count(): Wrong number of arguments given #{args.size} for 1 or 2.")
end
collection, item = args