1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

complex -> simple

This commit is contained in:
Mike Perham 2012-11-03 22:05:37 -07:00
parent 75e2788bbf
commit fb4850bdf1

View file

@ -21,10 +21,11 @@ module Sidekiq
#
# Note that perform_async is a class method, perform is an instance method.
module Worker
attr_accessor :jid
def self.included(base)
base.extend(ClassMethods)
base.class_attribute :sidekiq_options_hash
base.send(:attr_accessor, :jid)
end
def logger