aboutsummaryrefslogtreecommitdiff
path: root/files/functions/dirname.rb
blob: 3f784acdf32d53050a376864ac6281217cd689d7 (plain)
1
2
3
4
5
6
7
# get the directory corresponding to this filename
module Puppet::Parser::Functions
	newfunction(:dirname, :type => :rvalue) do |args|
		File.dirname(args[0])
	end
end