Module: Politics
- Defined in:
- lib/politics.rb,
lib/politics/static_queue_worker.rb
Defined Under Namespace
Modules: StaticQueueWorker
Class Method Summary collapse
Class Method Details
.log ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/politics.rb', line 10 def self.log @log ||= if defined?(RAILS_DEFAULT_LOGGER) RAILS_DEFAULT_LOGGER else require 'logger' Logger.new(STDOUT) end end |
.log=(value) ⇒ Object
6 7 8 |
# File 'lib/politics.rb', line 6 def self.log=(value) @log = log end |