- newfunction(:reverse, :type => :rvalue, :doc => <<-EOS
-Reverses the order of a string or array.
- EOS
- ) do |arguments|
+ newfunction(:reverse, :type => :rvalue, :doc => <<-DOC
+ @summary
+ Reverses the order of a string or array.
+
+ @return
+ reversed string or array
+
+ > *Note:* that the same can be done with the reverse_each() function in Puppet.
+ DOC
+ ) do |arguments|