class Pfm::Settings

def resolve_paths

expands variables like '.' and '~' in settings values paths
def resolve_paths
  @settings.each do |key, setting|
    required = @settings[key].required?
    @settings[key] = Setting.new(File.realpath(setting.value), required) if File.exist? setting.value
  end
end