Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / lib / puppet / parser / functions / max.rb
index 4715dcd..00a183a 100644 (file)
@@ -3,11 +3,16 @@
 #
 module Puppet::Parser::Functions
   newfunction(:max, :type => :rvalue, :doc => <<-DOC
-    Returns the highest value of all arguments.
+    @summary
+      **Deprecated:** Returns the highest 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 highest value among those passed in
+
+    > **Note:** **Deprecated** from Puppet 6.0.0, this function has been replaced with a
+    built-in [`lstrip`](https://puppet.com/docs/puppet/latest/function.html#lstrip) function.
     DOC
              ) do |args|