Class: BoringBuilder::ProjectPlan
- Inherits:
-
Object
- Object
- BoringBuilder::ProjectPlan
- Defined in:
- lib/boringbuilder/project_plan.rb
Instance Attribute Summary collapse
-
#project ⇒ Object
readonly
Returns the value of attribute project.
Instance Method Summary collapse
-
#initialize(project) ⇒ ProjectPlan
constructor
A new instance of ProjectPlan.
- #to_h ⇒ Object
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
#project ⇒ Object (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_h ⇒ Object
11 12 13 |
# File 'lib/boringbuilder/project_plan.rb', line 11 def to_h identity.merge(build, artifact, delivery) end |