module Dynflow::Action::Cancellable

Constants

Cancel

Public Instance Methods

cancel!() click to toggle source
# File lib/dynflow/action/cancellable.rb, line 13
def cancel!
  raise NotImplementedError
end
run(event = nil) click to toggle source
Calls superclass method
# File lib/dynflow/action/cancellable.rb, line 5
def run(event = nil)
  if Cancel === event
    cancel!
  else
    super event
  end
end