Class: YFi::Configuration
- Inherits:
-
Object
- Object
- YFi::Configuration
- Defined in:
- lib/y_fi.rb
Instance Attribute Summary collapse
-
#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 |
# File 'lib/y_fi.rb', line 7 def initialize @logger ||= Logger.new(STDOUT) end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/y_fi.rb', line 5 def logger @logger end |