class Puppet::Settings::PathSetting

Public Instance Methods

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