Class: SpotFlow::Bpmn::ExclusiveGateway

Inherits:
Gateway show all
Defined in:
lib/spot_flow/bpmn/gateway.rb

Instance Attribute Summary

Attributes inherited from Step

#default, #default_ref, #incoming, #outgoing

Attributes inherited from Element

#extension_elements, #id, #name

Instance Method Summary collapse

Methods inherited from Gateway

#execute, #is_enabled?

Methods inherited from Step

#converging?, #diverging?, #initialize, #input_mappings, #leave, #output_mappings

Methods inherited from Element

#initialize, #inspect

Constructor Details

This class inherits a constructor from SpotFlow::Bpmn::Step

Instance Method Details

#outgoing_flows(step_execution) ⇒ Object

RULE: Only one flow is taken



58
59
60
61
# File 'lib/spot_flow/bpmn/gateway.rb', line 58

def outgoing_flows(step_execution)
  flows = super
  return [flows.first]
end