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%2Flstrip.rb;h=2fd31a226dbbd5f1f56cbffe14b558183f0ca427;hp=99874e4683e22c400ec0b245b5413ed4fe5c7c66;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/lstrip.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/lstrip.rb index 99874e468..2fd31a226 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/lstrip.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/lstrip.rb @@ -3,10 +3,14 @@ # module Puppet::Parser::Functions newfunction(:lstrip, :type => :rvalue, :doc => <<-DOC - Strips leading spaces to the left of a string. + @summary + **Deprecated:** Strips leading spaces to the left of a string. - Note: from Puppet 6.0.0, the compatible function with the same name in Puppet core - will be used instead of this function. + @return [String] + The stripped string + + > **Note:** **Deprecated** from Puppet 6.0.0, this function has been replaced with a + built-in [`max`](https://puppet.com/docs/puppet/latest/function.html#max) function. DOC ) do |arguments|