Method: Drydock::PhaseChain#initialize
- Defined in:
- lib/drydock/phase_chain.rb
#initialize(from, parent = nil) ⇒ PhaseChain
Returns a new instance of PhaseChain.
151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'lib/drydock/phase_chain.rb', line 151 def initialize(from, parent = nil) @chain = [] @from = from @parent = parent @children = [] @finalized = false @ephemeral_containers = [] if parent parent.children << self end end |