class Puppet::Settings::PathSetting

Public Instance Methods

munge(value) click to toggle source
  # File lib/puppet/settings/path_setting.rb
2 def munge(value)
3   if value.is_a?(String)
4     value = value.split(File::PATH_SEPARATOR).map { |d| File.expand_path(d) }.join(File::PATH_SEPARATOR)
5   end
6   value
7 end