Class: ActiveRecordCallbacksDebug::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#activeObject

Returns the value of attribute active.



3
4
5
# File 'lib/active_record_callbacks_debug/configuration.rb', line 3

def active
  @active
end

#loggerObject

Returns the value of attribute logger.



3
4
5
# File 'lib/active_record_callbacks_debug/configuration.rb', line 3

def logger
  @logger
end