Class: Mayaml::Parser
- Inherits:
-
Object
- Object
- Mayaml::Parser
- Defined in:
- lib/mayaml/parser.rb
Class Method Summary collapse
Class Method Details
.get_accounts(json_file) ⇒ Object
24 25 26 27 28 |
# File 'lib/mayaml/parser.rb', line 24 def self.get_accounts(json_file) YAML.load_file json_file rescue Errno::ENOENT, Psych::SyntaxError [] end |