Class: GitHubChangelogGenerator::ParserFile
- Inherits:
-
Object
- Object
- GitHubChangelogGenerator::ParserFile
- Defined in:
- lib/github_changelog_generator/parser_file.rb
Constant Summary collapse
- FILENAME =
".github_changelog_generator"
Instance Method Summary collapse
-
#initialize(options) ⇒ ParserFile
constructor
A new instance of ParserFile.
-
#parse! ⇒ Object
Destructively change @options using data in configured options file.
Constructor Details
#initialize(options) ⇒ ParserFile
Returns a new instance of ParserFile.
9 10 11 |
# File 'lib/github_changelog_generator/parser_file.rb', line 9 def initialize() @options = end |
Instance Method Details
#parse! ⇒ Object
Destructively change @options using data in configured options file.
14 15 16 |
# File 'lib/github_changelog_generator/parser_file.rb', line 14 def parse! file.each_line { |line| parse_line!(line) } if file.exist? end |