Module: Kernel

Defined in:
lib/em-synchrony/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#silence_warningsObject


3
4
5
6
7
8
# File 'lib/em-synchrony/core_ext.rb', line 3

def silence_warnings
  old_verbose, $VERBOSE = $VERBOSE, nil
  yield
ensure
  $VERBOSE = old_verbose
end