Class: Rails::Cache::Debugger::Configuration
- Inherits:
-
Object
- Object
- Rails::Cache::Debugger::Configuration
- Defined in:
- lib/rails/cache/debugger/configuration.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#log_events ⇒ Object
Returns the value of attribute log_events.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 14 15 16 |
# File 'lib/rails/cache/debugger/configuration.rb', line 9 def initialize @enabled = true @log_events = %w[ cache_read.active_support cache_write.active_support cache_fetch_hit.active_support ] end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
7 8 9 |
# File 'lib/rails/cache/debugger/configuration.rb', line 7 def enabled @enabled end |
#log_events ⇒ Object
Returns the value of attribute log_events.
7 8 9 |
# File 'lib/rails/cache/debugger/configuration.rb', line 7 def log_events @log_events end |