Class: ActiveRecord::SuppressorRegistry
- Inherits:
-
Object
- Object
- ActiveRecord::SuppressorRegistry
- Extended by:
- ActiveSupport::PerThreadRegistry
- Defined in:
- lib/active_record/suppressor.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#suppressed ⇒ Object
readonly
Returns the value of attribute suppressed.
Instance Method Summary collapse
-
#initialize ⇒ SuppressorRegistry
constructor
A new instance of SuppressorRegistry.
Constructor Details
#initialize ⇒ SuppressorRegistry
Returns a new instance of SuppressorRegistry.
55 56 57 |
# File 'lib/active_record/suppressor.rb', line 55 def initialize @suppressed = {} end |
Instance Attribute Details
#suppressed ⇒ Object (readonly)
Returns the value of attribute suppressed.
53 54 55 |
# File 'lib/active_record/suppressor.rb', line 53 def suppressed @suppressed end |