Class: Gempilot::VersionTask

Inherits:
Rake::TaskLib
  • Object
show all
Includes:
ReleaseTasks
Defined in:
lib/gempilot/version_task.rb

Overview

Rake tasks for version lifecycle management.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(root: Dir.pwd) ⇒ VersionTask

Returns a new instance of VersionTask.



11
12
13
14
15
# File 'lib/gempilot/version_task.rb', line 11

def initialize(root: Dir.pwd)
  super()
  @project = Project.new(root)
  define_tasks
end

Instance Attribute Details

#projectObject (readonly)

Returns the value of attribute project.



9
10
11
# File 'lib/gempilot/version_task.rb', line 9

def project
  @project
end