Module: Sidekiq::Actor
- Included in:
- Fetcher, Launcher, Manager, Processor, Scheduled::Poller
- Defined in:
- lib/sidekiq/actor.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/sidekiq/actor.rb', line 30 def self.included(klass) if $TESTING klass.__send__(:include, InstanceMethods) klass.__send__(:extend, ClassMethods) else klass.__send__(:include, Celluloid) end end |