Class: Maxwell::Agent::Worker
- Inherits:
-
Object
- Object
- Maxwell::Agent::Worker
- Defined in:
- lib/maxwell/agent/worker.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#perform(work) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/maxwell/agent/worker.rb', line 5 def perform(work) work.perform post_run(work) ensure work_schedule.put_back(work) end |