Class: GemToys::Template::Release
- Inherits:
-
Object
- Object
- GemToys::Template::Release
- Includes:
- Toys::Template
- Defined in:
- lib/gem_toys/template/release.rb,
lib/gem_toys/template/release/git.rb,
lib/gem_toys/template/release/changelog.rb
Overview
Template with gem release tool, expanding internally
Defined Under Namespace
Instance Attribute Summary collapse
-
#changelog_file_name ⇒ Object
readonly
Returns the value of attribute changelog_file_name.
-
#unreleased_title ⇒ Object
readonly
Returns the value of attribute unreleased_title.
-
#version_file_path ⇒ Object
readonly
Returns the value of attribute version_file_path.
-
#version_tag_prefix ⇒ Object
readonly
Returns the value of attribute version_tag_prefix.
Instance Method Summary collapse
-
#initialize(changelog_file_name:, version_file_path:, version_tag_prefix:, unreleased_title:) ⇒ Release
constructor
A new instance of Release.
Constructor Details
#initialize(changelog_file_name:, version_file_path:, version_tag_prefix:, unreleased_title:) ⇒ Release
Returns a new instance of Release.
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/gem_toys/template/release.rb', line 16 def initialize( changelog_file_name:, version_file_path:, version_tag_prefix:, unreleased_title: ) @changelog_file_name = changelog_file_name @version_file_path = version_file_path @version_tag_prefix = version_tag_prefix @unreleased_title = unreleased_title end |
Instance Attribute Details
#changelog_file_name ⇒ Object (readonly)
Returns the value of attribute changelog_file_name.
14 15 16 |
# File 'lib/gem_toys/template/release.rb', line 14 def changelog_file_name @changelog_file_name end |
#unreleased_title ⇒ Object (readonly)
Returns the value of attribute unreleased_title.
14 15 16 |
# File 'lib/gem_toys/template/release.rb', line 14 def unreleased_title @unreleased_title end |
#version_file_path ⇒ Object (readonly)
Returns the value of attribute version_file_path.
14 15 16 |
# File 'lib/gem_toys/template/release.rb', line 14 def version_file_path @version_file_path end |
#version_tag_prefix ⇒ Object (readonly)
Returns the value of attribute version_tag_prefix.
14 15 16 |
# File 'lib/gem_toys/template/release.rb', line 14 def version_tag_prefix @version_tag_prefix end |