Class: ActiveYaml::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/active_yaml/parser.rb

Overview

The main parser of Yaml files, uses psych under the hood

Class Method Summary collapse

Class Method Details

.parse(file_path) ⇒ Object



8
9
10
# File 'lib/active_yaml/parser.rb', line 8

def self.parse(file_path)
  Psych.safe_load_file(file_path)
end