module Kernel

def enable_warnings(&block)

original value afterwards.
Sets $VERBOSE to +true+ for the duration of the block and back to its
def enable_warnings(&block)
  with_warnings(true, &block)
end