method

silence

silence(&block)
public

Silences all deprecators in this collection for the duration of the given block.

See ActiveSupport::Deprecation#silence.