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 and concat to 6.1.0 both
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
lib
/
puppet
/
parser
/
functions
/
size.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/parser/functions/size.rb
b/3rdparty/modules/stdlib/lib/puppet/parser/functions/size.rb
index
2002a3d
..
39b856c
100644
(file)
--- a/
3rdparty/modules/stdlib/lib/puppet/parser/functions/size.rb
+++ b/
3rdparty/modules/stdlib/lib/puppet/parser/functions/size.rb
@@
-3,9
+3,13
@@
#
module Puppet::Parser::Functions
newfunction(:size, :type => :rvalue, :doc => <<-DOC
#
module Puppet::Parser::Functions
newfunction(:size, :type => :rvalue, :doc => <<-DOC
- Returns the number of elements in a string, an array or a hash
+ @summary
+ Returns the number of elements in a string, an array or a hash
- Note that since Puppet 5.4.0, the length() function in Puppet is preferred over this. For versions
+ @return
+ the number of elements in a string, an array or a hash
+
+ > *Note:* that since Puppet 5.4.0, the length() function in Puppet is preferred over this. For versions
of Puppet < 5.4.0 use the stdlib length() function.
DOC
) do |arguments|
of Puppet < 5.4.0 use the stdlib length() function.
DOC
) do |arguments|