class Sidekiq::Recursive::Hooks::BeforeAll

Public Class Methods

run(worker) click to toggle source
# File lib/sidekiq/recursive/hooks/before_all.rb, line 2
def self.run(worker)
  action_name = worker.before_all
  return unless action_name
  worker.new.send(action_name)
  true
end