class Puppet::Settings::PathSetting

Public Instance Methods

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