Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / lib / puppet / parser / functions / swapcase.rb
index e8a5d9a..dd17330 100644 (file)
@@ -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|