Class: Automux::Library::YamlParser
- Inherits:
-
Object
- Object
- Automux::Library::YamlParser
- Defined in:
- lib/automux/library/yaml_parser.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.load_file(file_path, parsed_options) ⇒ Object
7 8 9 10 11 |
# File 'lib/automux/library/yaml_parser.rb', line 7 def load_file(file_path, ) data_string = File.read(file_path) opts_replaced_string = replace_opts(data_string, ) YAML.load(opts_replaced_string) end |