module Kernel

Public Instance Methods

suppress_warnings() { || ... } click to toggle source
# File lib/i18n/core_ext/kernel/suppress_warnings.rb, line 2
def suppress_warnings
  original_verbosity, $VERBOSE = $VERBOSE, nil
  yield
ensure
  $VERBOSE = original_verbosity
end