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%2Fmin.rb;h=c211a9e240fdd5f5a77331fa8023bda2610d4140;hp=ed4be5b205a1d4454ee063708aef808a25e6c791;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/min.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/min.rb index ed4be5b20..c211a9e24 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/min.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/min.rb @@ -3,11 +3,16 @@ # module Puppet::Parser::Functions newfunction(:min, :type => :rvalue, :doc => <<-DOC - Returns the lowest value of all arguments. + @summary + **Deprecated:** Returns the lowest value of all arguments. + Requires at least one argument. - Note: from Puppet 6.0.0, the compatible function with the same name in Puppet core - will be used instead of this function. + @return + The lowest value among the given arguments + + > **Note:** **Deprecated** from Puppet 6.0.0, this function has been replaced with a + built-in [`min`](https://puppet.com/docs/puppet/latest/function.html#min) function. DOC ) do |args|