- newfunction(:camelcase, :type => :rvalue, :doc => <<-EOS
-Converts the case of a string or all strings in an array to camel case.
- EOS
- ) do |arguments|
+ newfunction(:camelcase, :type => :rvalue, :doc => <<-DOC
+ @summary
+ **Deprecated** Converts the case of a string or all strings in an array to camel case.
+
+ > *Note:*
+ **Deprecated** from Puppet 6.0.0, this function has been replaced with
+ a built-in [`camelcase`](https://puppet.com/docs/puppet/latest/function.html#camelcase)
+ function.