module Kernel

def silence_warnings

noisy_call # warning voiced

end
value = noisy_call # no warning voiced
silence_warnings do

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