Class: You::Configuration
- Inherits:
-
Object
- Object
- You::Configuration
- Defined in:
- lib/you/configuration.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/you/configuration.rb', line 7 def initialize @logger = Logger.new($stdout) @logger.level = Logger::WARN @debug = false end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
5 6 7 |
# File 'lib/you/configuration.rb', line 5 def debug @debug end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/you/configuration.rb', line 5 def logger @logger end |