Module: Kernel

Defined in:
ext/extconf.rb

Instance Method Summary collapse

Instance Method Details

#suppress_warningsObject



36
37
38
39
40
41
42
# File 'ext/extconf.rb', line 36

def suppress_warnings
  origVerbosity = $VERBOSE
  $VERBOSE = nil
  result = yield
  $VERBOSE = origVerbosity
  return result
end