Load file from a path.
95 96 97 98
# File 'lib/postview/settings.rb', line 95 def self.load_file_from(path) file = Pathname.new(path).join(FILE_DIR, FILE_NAME) new(YAML.load_file(file)) end