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_split.rb;h=7c9f12375d67d3d4636ea7cef6adf7be1e80b76d;hp=9dcf958847856662444c1f5e233aa5824627ea42;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hpb=6f656bd4265e3dab13b9af2bf96e9044322e9d8f diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/shell_split.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/shell_split.rb index 9dcf95884..7c9f12375 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/shell_split.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/shell_split.rb @@ -4,7 +4,11 @@ require 'shellwords' # module Puppet::Parser::Functions newfunction(:shell_split, :type => :rvalue, :doc => <<-DOC - Splits a string into an array of tokens in the same way the Bourne shell does. + @summary + Splits a string into an array of tokens in the same way the Bourne shell does. + + @return + array of tokens This function behaves the same as ruby's Shellwords.shellsplit() function DOC