aboutsummaryrefslogtreecommitdiff
path: root/files/functions/split.rb
blob: d08a40b1cabc706124fab78abd834dadbdae535b (plain)
1
2
3
4
5
6
7
# generic split call
module Puppet::Parser::Functions
	newfunction(:split, :type => :rvalue) do |args|
		args[0].split(/#{args[1]}/)
	end
end