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%2Fcamelcase.rb;h=ad1068b3fcce6fcadf9dc5b4c12f989e55a8f1b0;hp=3c887e26b8a0d5f6c88c24de4e83185b08477d99;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/camelcase.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/camelcase.rb index 3c887e26b..ad1068b3f 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/camelcase.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/camelcase.rb @@ -4,10 +4,16 @@ # module Puppet::Parser::Functions newfunction(:camelcase, :type => :rvalue, :doc => <<-DOC - Converts the case of a string or all strings in an array to camel case. + @summary + **Deprecated** Converts the case of a string or all strings in an array to camel case. - Note: from Puppet 6.0.0, the compatible function with the same name in Puppet core - will be used instead of this function. + > *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. + + @return [String] The converted String, if it was a String that was given + @return [Array[String]] The converted Array, if it was a Array that was given DOC ) do |arguments|