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%2Furiescape.rb;h=4078b86c42119e6d51cc12d10768fc948132c049;hp=8bcd586cf038ecf4a5f9328a14b7a6329211d138;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/uriescape.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/uriescape.rb index 8bcd586cf..4078b86c4 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/uriescape.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/uriescape.rb @@ -5,8 +5,13 @@ require 'uri' # module Puppet::Parser::Functions newfunction(:uriescape, :type => :rvalue, :doc => <<-DOC - Urlencodes a string or array of strings. - Requires either a single string or an array as an input. + @summary + Urlencodes a string or array of strings. + Requires either a single string or an array as an input. + + @return [String] + a string that contains the converted value + DOC ) do |arguments|