Class: Build::Controller::Builder
- Inherits:
-
Object
- Object
- Build::Controller::Builder
- Defined in:
- lib/build/controller.rb
Overview
A builder class for constructing the controller.
Instance Attribute Summary collapse
-
#nodes ⇒ Object
readonly
Returns the value of attribute nodes.
- #The list of nodes to build.(listofnodestobuild.) ⇒ Object readonly
Instance Method Summary collapse
-
#add_chain(chain, arguments = [], environment) ⇒ Object
Add a build environment to the controller.
-
#initialize ⇒ Builder
constructor
Initialize the builder with an empty list of nodes.
Constructor Details
#initialize ⇒ Builder
Initialize the builder with an empty list of nodes.
26 27 28 |
# File 'lib/build/controller.rb', line 26 def initialize @nodes = [] end |
Instance Attribute Details
#nodes ⇒ Object (readonly)
Returns the value of attribute nodes.
31 32 33 |
# File 'lib/build/controller.rb', line 31 def nodes @nodes end |
#The list of nodes to build.(listofnodestobuild.) ⇒ Object (readonly)
31 |
# File 'lib/build/controller.rb', line 31 attr :nodes |