Class: Chchchanges::Generator
- Inherits:
-
Object
- Object
- Chchchanges::Generator
- Defined in:
- lib/chchchanges/generator.rb
Instance Attribute Summary collapse
-
#changelog ⇒ Object
Returns the value of attribute changelog.
-
#changelog_hash ⇒ Object
Returns the value of attribute changelog_hash.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize ⇒ Generator
constructor
A new instance of Generator.
Constructor Details
#initialize ⇒ Generator
Returns a new instance of Generator.
6 7 8 9 |
# File 'lib/chchchanges/generator.rb', line 6 def initialize @changelog_hash = {} @changelog = "# Change Log\n" end |
Instance Attribute Details
#changelog ⇒ Object
Returns the value of attribute changelog.
4 5 6 |
# File 'lib/chchchanges/generator.rb', line 4 def changelog @changelog end |
#changelog_hash ⇒ Object
Returns the value of attribute changelog_hash.
4 5 6 |
# File 'lib/chchchanges/generator.rb', line 4 def changelog_hash @changelog_hash end |
Instance Method Details
#call ⇒ Object
11 12 13 14 |
# File 'lib/chchchanges/generator.rb', line 11 def call read_changelog_entry_files write_to_changelog_file end |