Class: BoringBuilder::ProjectPlan

Inherits:
Object
  • Object
show all
Defined in:
lib/boringbuilder/project_plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(project) ⇒ ProjectPlan

Returns a new instance of ProjectPlan.



7
8
9
# File 'lib/boringbuilder/project_plan.rb', line 7

def initialize(project)
  @project = project
end

Instance Attribute Details

#projectObject (readonly)

Returns the value of attribute project.



5
6
7
# File 'lib/boringbuilder/project_plan.rb', line 5

def project
  @project
end

Instance Method Details

#to_hObject



11
12
13
# File 'lib/boringbuilder/project_plan.rb', line 11

def to_h
  identity.merge(build, artifact, delivery)
end