X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Flib%2Fpuppet%2Fparser%2Ffunctions%2Fsize.rb;h=39b856c1b2c07b7d663790ca73dd1541ca2147c1;hp=2002a3df5872c2f3ad8fcdb889dddbb412c24412;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/size.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/size.rb index 2002a3df5..39b856c1b 100644 --- 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 - 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|