- newfunction(:downcase, :type => :rvalue, :doc => <<-EOS
-Converts the case of a string or all strings in an array to lower case.
- EOS
- ) do |arguments|
+ newfunction(:downcase, :type => :rvalue, :doc => <<-DOC
+ @summary
+ **Deprecated:** Converts the case of a string or all strings in an array to lower case.
+
+ > *Note:* **Deprecated** from Puppet 6.0.0, this function has been replaced with a
+ built-in [`downcase`](https://puppet.com/docs/puppet/latest/function.html#downcase) function.
+ >
+ This function is an implementation of a Ruby class and might not be UTF8 compatible.
+ To ensure compatibility, use this function with Ruby 2.4.0 or greater.