Class: Aldous::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



11
12
13
14
15
16
# File 'lib/aldous/configuration.rb', line 11

def initialize
  @error_reporter = ::Aldous::DummyErrorReporter
  @logger = ::Aldous::StdoutLogger

  @controller_methods_exposed_to_action = [:params, :session, :cookies, :request, :response]
end

Instance Attribute Details

#controller_methods_exposed_to_actionObject

Returns the value of attribute controller_methods_exposed_to_action.



7
8
9
# File 'lib/aldous/configuration.rb', line 7

def controller_methods_exposed_to_action
  @controller_methods_exposed_to_action
end

#error_reporterObject

Returns the value of attribute error_reporter.



7
8
9
# File 'lib/aldous/configuration.rb', line 7

def error_reporter
  @error_reporter
end

#loggerObject

Returns the value of attribute logger.



7
8
9
# File 'lib/aldous/configuration.rb', line 7

def logger
  @logger
end