lib/gb_dispatch.rb in gb_dispatch-0.1.0 vs lib/gb_dispatch.rb in gb_dispatch-0.1.1
- old
+ new
@@ -57,10 +57,10 @@
# @param logger [Logger]
def self.logger=(logger)
@logger = logger
end
- def logger
+ def self.logger
@logger ||= Logger.new(STDOUT)
end
class << self
alias_method :dispatch_sync_on_queue, :dispatch_sync