projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update stdlib
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
lib
/
puppet
/
parser
/
functions
/
count.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/parser/functions/count.rb
b/3rdparty/modules/stdlib/lib/puppet/parser/functions/count.rb
index
52de1b8
..
cef2637
100644
(file)
--- a/
3rdparty/modules/stdlib/lib/puppet/parser/functions/count.rb
+++ b/
3rdparty/modules/stdlib/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
) 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
end
collection, item = args