Module: Sidetiq::Actor

Included in:
Clock, Handler
Defined in:
lib/sidetiq/actor.rb,
lib/sidetiq/actor/clock.rb,
lib/sidetiq/actor/handler.rb

Defined Under Namespace

Classes: Clock, Handler

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object


3
4
5
6
# File 'lib/sidetiq/actor.rb', line 3

def self.included(base)
  base.__send__(:include, Celluloid)
  base.finalizer :sidetiq_finalizer
end

Instance Method Details

#initialize(*args, &block) ⇒ Object


8
9
10
11
# File 'lib/sidetiq/actor.rb', line 8

def initialize(*args, &block)
  log_call "initialize"
  super
end