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%2Fswapcase.rb;h=dd17330b37f964f62e7d8f983f04225da1ac7278;hp=e8a5d9a8f8f34d6632fb99e7c74e7a39d71ade2e;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/swapcase.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/swapcase.rb index e8a5d9a8f..dd17330b3 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/swapcase.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/swapcase.rb @@ -4,13 +4,16 @@ # module Puppet::Parser::Functions newfunction(:swapcase, :type => :rvalue, :doc => <<-DOC - This function will swap the existing case of a string. + @summary + This function will swap the existing case of a string. - *Examples:* + @return + string with uppercase alphabetic characters converted to lowercase and lowercase characters converted to uppercase - swapcase("aBcD") + @example **Usage** - Would result in: "AbCd" + swapcase("aBcD") + Would result in: "AbCd" DOC ) do |arguments|