module Dynflow::Action::Cancellable
Constants
- Abort
- Cancel
Public Instance Methods
abort!()
click to toggle source
# File lib/dynflow/action/cancellable.rb, line 21 def abort! cancel! end
cancel!()
click to toggle source
# File lib/dynflow/action/cancellable.rb, line 17 def cancel! raise NotImplementedError end
run(event = nil)
click to toggle source
Calls superclass method
# File lib/dynflow/action/cancellable.rb, line 6 def run(event = nil) case event when Cancel cancel! when Abort abort! else super event end end