Class: BPMN::TerminateEventDefinition

Inherits:
EventDefinition show all
Defined in:
lib/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 BPMN::Element

Instance Method Details

#execute(execution) ⇒ Object



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

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