class ActiveSupport::Deprecation::Deprecators
def []=(name, deprecator)
foo_deprecator.debug # => true
deprecators[:foo].debug # => true
deprecators[:foo] = foo_deprecator
foo_deprecator.debug # => false
foo_deprecator = ActiveSupport::Deprecation.new("2.0", "Foo")
deprecators.debug = true
deprecators = ActiveSupport::Deprecation::Deprecators.new
collection.
immediately configured with any options previously set on this
Adds a given +deprecator+ to this collection. The deprecator will be
def []=(name, deprecator) apply_options(deprecator) @deprecators[name] = deprecator end