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%2Freverse.rb;h=8b97a97311afaf25b5500159d670b4ce9e653f8a;hp=9f7db8b2f571ee14d81e35ec17f30afee0398527;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/reverse.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/reverse.rb index 9f7db8b2f..8b97a9731 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/reverse.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/reverse.rb @@ -3,9 +3,13 @@ # module Puppet::Parser::Functions newfunction(:reverse, :type => :rvalue, :doc => <<-DOC - Reverses the order of a string or array. + @summary + Reverses the order of a string or array. - Note that the same can be done with the reverse_each() function in Puppet. + @return + reversed string or array + + > *Note:* that the same can be done with the reverse_each() function in Puppet. DOC ) do |arguments|