Class: Aufgaben::Release
- Defined in:
- lib/aufgaben/release.rb
Instance Attribute Summary collapse
-
#changelog ⇒ Object
Returns the value of attribute changelog.
-
#default_branch ⇒ Object
Returns the value of attribute default_branch.
-
#files ⇒ Object
Returns the value of attribute files.
-
#new_version ⇒ Object
Returns the value of attribute new_version.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name = :release, depends: []) {|_self| ... } ⇒ Release
constructor
A new instance of Release.
Methods inherited from Base
Constructor Details
#initialize(name = :release, depends: []) {|_self| ... } ⇒ Release
Returns a new instance of Release.
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/aufgaben/release.rb', line 11 def initialize(name = :release, depends: []) super(name, depends: depends) @default_branch = "main" @changelog = "CHANGELOG.md" @files = [] @new_version = nil yield self if block_given? define end |
Instance Attribute Details
#changelog ⇒ Object
Returns the value of attribute changelog.
7 8 9 |
# File 'lib/aufgaben/release.rb', line 7 def changelog @changelog end |
#default_branch ⇒ Object
Returns the value of attribute default_branch.
6 7 8 |
# File 'lib/aufgaben/release.rb', line 6 def default_branch @default_branch end |
#files ⇒ Object
Returns the value of attribute files.
8 9 10 |
# File 'lib/aufgaben/release.rb', line 8 def files @files end |
#new_version ⇒ Object
Returns the value of attribute new_version.
9 10 11 |
# File 'lib/aufgaben/release.rb', line 9 def new_version @new_version end |