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%2Frstrip.rb;h=fc809c8bfb63c000baf87d908d98ca0cfdf561cf;hp=e2cee40bdd6b3ea4f590866d7bdb91dabc91b053;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/rstrip.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/rstrip.rb index e2cee40bd..fc809c8bf 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/rstrip.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/rstrip.rb @@ -3,9 +3,13 @@ # module Puppet::Parser::Functions newfunction(:rstrip, :type => :rvalue, :doc => <<-DOC - Strips leading spaces to the right of the string. + @summary + Strips leading spaces to the right of the string. - Note: from Puppet 6.0.0, the compatible function with the same name in Puppet core + @return + the string with leading spaces removed + + > *Note:* from Puppet 6.0.0, the compatible function with the same name in Puppet core will be used instead of this function. DOC ) do |arguments|