Class: You::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#debugObject

Returns the value of attribute debug.



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

def debug
  @debug
end

#loggerObject

Returns the value of attribute logger.



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

def logger
  @logger
end