lib/litejob.rb in litejob-0.2.2 vs lib/litejob.rb in litejob-0.2.3
- old
+ new
@@ -7,22 +7,22 @@
module Litejob
def self.included(klass)
klass.extend(Concern)
end
-
+
Configuration = Struct.new(:logger)
-
+
def self.configuration
@configuration ||= Configuration.new(
- _logger = Logger.new($stdout),
+ _logger = Logger.new($stdout)
)
end
-
+
def self.configure
yield(configuration)
end
-
+
def self.logger
configuration.logger
end
end