class ActiveSupport::Deprecation::Deprecators

def silence(&block)

See ActiveSupport::Deprecation#silence.

given block.
Silences all deprecators in this collection for the duration of the
def silence(&block)
  each { |deprecator| deprecator.begin_silence }
  block.call
ensure
  each { |deprecator| deprecator.end_silence }
end