Class: YFi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/y_fi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#loggerObject

Returns the value of attribute logger.



5
6
7
# File 'lib/y_fi.rb', line 5

def logger
  @logger
end