projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
lib
/
puppet
/
parser
/
functions
/
swapcase.rb
diff --git
a/3rdparty/modules/stdlib/lib/puppet/parser/functions/swapcase.rb
b/3rdparty/modules/stdlib/lib/puppet/parser/functions/swapcase.rb
index
e8a5d9a
..
dd17330
100644
(file)
--- 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
#
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|
DOC
) do |arguments|