1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00
endofunky--sidetiq/lib/sidetiq/actor.rb
2013-09-17 14:00:10 +01:00

18 lines
302 B
Ruby

module Sidetiq
module Actor
def self.included(base)
base.__send__(:include, Celluloid)
end
def initialize(*args, &block)
log_call "initialize"
super
end
private
def log_call(call)
info "#{self.class.name} id: #{object_id} #{call}"
end
end
end