Class: Semmy::Changelog::InsertUnreleasedSection
- Inherits:
-
Struct
- Object
- Struct
- Semmy::Changelog::InsertUnreleasedSection
- Defined in:
- lib/semmy/changelog.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
69 70 71 |
# File 'lib/semmy/changelog.rb', line 69 def config @config end |
#options ⇒ Object
Returns the value of attribute options
69 70 71 |
# File 'lib/semmy/changelog.rb', line 69 def @options end |
Instance Method Details
#call(contents) ⇒ Object
70 71 72 73 74 |
# File 'lib/semmy/changelog.rb', line 70 def call(contents) insert_before(version_line_matcher, contents, unreleased_section(contents)) end |