Class: DataImp::Parser::Yaml
- Inherits:
-
Stream
- Object
- DataImp::Parser
- Stream
- DataImp::Parser::Yaml
- Defined in:
- lib/data_imp/parser/yaml.rb
Instance Attribute Summary
Attributes inherited from DataImp::Parser
Instance Method Summary collapse
Methods inherited from Stream
Methods inherited from DataImp::Parser
find_parser, #initialize, #parse, #process, #process_file
Constructor Details
This class inherits a constructor from DataImp::Parser
Instance Method Details
#process_string(input) ⇒ Object
4 5 6 |
# File 'lib/data_imp/parser/yaml.rb', line 4 def process_string input YAML.safe_load(input) end |