Module: Resque::Plugin

Defined in:
lib/resque/plugins/batched_job.rb

Instance Method Summary collapse

Instance Method Details

#after_batch_hooks(job) ⇒ Object

This hook is really the meaning of our adventure.



13
14
15
# File 'lib/resque/plugins/batched_job.rb', line 13

def after_batch_hooks(job)
  job.methods.grep(/^after_batch/).sort
end