# File lib/active_support/core_ext/kernel/reporting.rb, line 20
  def with_warnings(flag)
    old_verbose, $VERBOSE = $VERBOSE, flag
    yield
  ensure
    $VERBOSE = old_verbose
  end