module Kernel

def enable_warnings

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