Class: Aldous::Configuration
- Inherits:
-
Object
- Object
- Aldous::Configuration
- Defined in:
- lib/aldous/configuration.rb
Instance Attribute Summary collapse
-
#controller_methods_exposed_to_action ⇒ Object
Returns the value of attribute controller_methods_exposed_to_action.
-
#error_reporter ⇒ Object
Returns the value of attribute error_reporter.
-
#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.
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_action ⇒ Object
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_reporter ⇒ Object
Returns the value of attribute error_reporter.
7 8 9 |
# File 'lib/aldous/configuration.rb', line 7 def error_reporter @error_reporter end |
#logger ⇒ Object
Returns the value of attribute logger.
7 8 9 |
# File 'lib/aldous/configuration.rb', line 7 def logger @logger end |