Class: Renogen::ExtractionStratagies::YamlFile::Parser
- Inherits:
-
Object
- Object
- Renogen::ExtractionStratagies::YamlFile::Parser
- Defined in:
- lib/renogen/extraction_stratagies/yaml_file/parser.rb
Overview
Reads change data from files in configured directory
Instance Attribute Summary collapse
-
#changelog ⇒ Object
readonly
Returns the value of attribute changelog.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Parser
constructor
A new instance of Parser.
- #parse! ⇒ ChangeLog::Model
Constructor Details
Instance Attribute Details
#changelog ⇒ Object (readonly)
Returns the value of attribute changelog.
7 8 9 |
# File 'lib/renogen/extraction_stratagies/yaml_file/parser.rb', line 7 def changelog @changelog end |
Instance Method Details
#parse! ⇒ ChangeLog::Model
15 16 17 18 19 20 |
# File 'lib/renogen/extraction_stratagies/yaml_file/parser.rb', line 15 def parse! yaml_file_reader.each_yaml_file do |file, index| parse_file(index, file) end changelog end |