Module: Dynflow::Action::Cancellable
- Defined in:
- lib/dynflow/action/cancellable.rb
Constant Summary collapse
- Cancel =
Algebrick.atom
Instance Method Summary collapse
Instance Method Details
#cancel! ⇒ Object
13 14 15 |
# File 'lib/dynflow/action/cancellable.rb', line 13 def cancel! NotImplementedError end |
#run(event = nil) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/dynflow/action/cancellable.rb', line 5 def run(event = nil) if Cancel === event cancel! else super event end end |