Method: SpotFlow::Execution#invoke_listeners

Defined in:
lib/spot_flow/execution.rb

#invoke_listeners(type, sequence_flow = nil) ⇒ Object



91
92
93
# File 'lib/spot_flow/execution.rb', line 91

def invoke_listeners(type, sequence_flow = nil)
  context.listeners.each { |listener| listener[type].call(self, sequence_flow) if listener[type] }
end