Class: Flor::StagedBasicTasker
- Inherits:
-
BasicTasker
- Object
- BasicTasker
- Flor::StagedBasicTasker
- Defined in:
- lib/flor/unit/taskers.rb
Overview
A BasicTasker with stages (pre / on / post)
Instance Attribute Summary
Attributes inherited from BasicTasker
Instance Method Summary collapse
Methods inherited from BasicTasker
Constructor Details
This class inherits a constructor from Flor::BasicTasker
Instance Method Details
#call_detask ⇒ Object
149 150 151 152 153 |
# File 'lib/flor/unit/taskers.rb', line 149 def call_detask call_one_of(:pre_detask, :pre_cancel) call_one_of(:on_detask, :on_cancel, :detask, :cancel) end |
#call_task ⇒ Object
143 144 145 146 147 |
# File 'lib/flor/unit/taskers.rb', line 143 def call_task call_one_of(:pre_task) call_one_of(:on_task, :task) end |