Class: Gempilot::VersionTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Gempilot::VersionTask
- Defined in:
- lib/gempilot/version_task.rb
Overview
Rake tasks for version lifecycle management.
Instance Attribute Summary collapse
-
#project ⇒ Object
readonly
Returns the value of attribute project.
Instance Method Summary collapse
-
#initialize(root: Dir.pwd) ⇒ VersionTask
constructor
A new instance of VersionTask.
Constructor Details
#initialize(root: Dir.pwd) ⇒ VersionTask
Returns a new instance of VersionTask.
9 10 11 12 13 |
# File 'lib/gempilot/version_task.rb', line 9 def initialize(root: Dir.pwd) super() @project = Project.new(root) define_tasks end |
Instance Attribute Details
#project ⇒ Object (readonly)
Returns the value of attribute project.
7 8 9 |
# File 'lib/gempilot/version_task.rb', line 7 def project @project end |