Class: SpotFlow::Bpmn::TerminateEventDefinition

Inherits:
EventDefinition show all
Defined in:
lib/spot_flow/bpmn/event_definition.rb

Instance Attribute Summary

Attributes inherited from Element

#extension_elements, #id, #name

Instance Method Summary collapse

Methods inherited from Element

#initialize, #inspect

Constructor Details

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

Instance Method Details

#execute(execution) ⇒ Object



100
101
102
# File 'lib/spot_flow/bpmn/event_definition.rb', line 100

def execute(execution)
  execution.parent&.terminate
end