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%2Fshell_join.rb;h=e498f55e1ff92cc2a8e80fbc572120523a36eb9c;hp=0a037c1f999571956565030c34f0c7106dc09e93;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/shell_join.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/shell_join.rb index 0a037c1f9..e498f55e1 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/shell_join.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/shell_join.rb @@ -5,10 +5,13 @@ require 'shellwords' # module Puppet::Parser::Functions newfunction(:shell_join, :type => :rvalue, :doc => <<-DOC - Builds a command line string from the given array of strings. Each array item is escaped for Bourne shell. All items are - then joined together, with a single space in between. - + @summary + Builds a command line string from the given array of strings. + Each array item is escaped for Bourne shell. All items are then joined together, with a single space in between. This function behaves the same as ruby's Shellwords.shelljoin() function + + @return + a command line string DOC ) do |arguments|