Module: Bogus::Support

Defined in:
lib/bogus/support.rb

Class Method Summary collapse

Class Method Details

.supress_warningsObject



3
4
5
6
7
8
9
# File 'lib/bogus/support.rb', line 3

def self.supress_warnings
  old_verbose = $VERBOSE
  $VERBOSE = nil
  yield
ensure
  $VERBOSE = old_verbose
end