Class: ActiveRecordCallbacksDebug::Configuration
- Inherits:
-
Object
- Object
- ActiveRecordCallbacksDebug::Configuration
- Defined in:
- lib/active_record_callbacks_debug/configuration.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#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.
5 6 7 8 |
# File 'lib/active_record_callbacks_debug/configuration.rb', line 5 def initialize @active = false @logger = Logger.new($stdout) end |
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active.
3 4 5 |
# File 'lib/active_record_callbacks_debug/configuration.rb', line 3 def active @active end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/active_record_callbacks_debug/configuration.rb', line 3 def logger @logger end |