Method: SpotFlow::Bpmn::SubProcess#initialize
- Defined in:
- lib/spot_flow/bpmn/process.rb
#initialize(attributes = {}) ⇒ SubProcess
Returns a new instance of SubProcess.
145 146 147 148 149 150 151 |
# File 'lib/spot_flow/bpmn/process.rb', line 145 def initialize(attributes = {}) super(attributes.except(:triggered_by_event)) @is_executable = false @sub_processes = [] @triggered_by_event = attributes[:triggered_by_event] end |