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%2Fupcase.rb;h=de0797039a23eef9fb51f6c0f80df4e1ed295ec7;hp=563efe4b5990b85d10058b8375c78d575aa47efa;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/upcase.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/upcase.rb index 563efe4b5..de0797039 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/upcase.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/upcase.rb @@ -4,17 +4,18 @@ # module Puppet::Parser::Functions newfunction(:upcase, :type => :rvalue, :doc => <<-DOC - Converts a string or an array of strings to uppercase. + @summary + Converts a string or an array of strings to uppercase. - *Examples:* + @return + converted string ot array of strings to uppercase - upcase("abcd") + @example **Usage** - Will return: + upcase("abcd") + Will return ABCD - ABCD - - Note: from Puppet 6.0.0, the compatible function with the same name in Puppet core + > *Note:* from Puppet 6.0.0, the compatible function with the same name in Puppet core will be used instead of this function. DOC ) do |arguments|