Class: Absurdity::Config
- Inherits:
-
Object
- Object
- Absurdity::Config
- Includes:
- Singleton
- Defined in:
- lib/absurdity/config.rb
Instance Method Summary collapse
Instance Method Details
#logger ⇒ Object
16 17 18 |
# File 'lib/absurdity/config.rb', line 16 def logger @logger ||= ::Logger.new(STDOUT) end |
#logger=(logger) ⇒ Object
20 21 22 |
# File 'lib/absurdity/config.rb', line 20 def logger=(logger) @logger = logger end |
#redis ⇒ Object
8 9 10 |
# File 'lib/absurdity/config.rb', line 8 def redis @redis end |
#redis=(redis) ⇒ Object
12 13 14 |
# File 'lib/absurdity/config.rb', line 12 def redis=(redis) @redis = redis end |