module Bogus::Support

Public Class Methods

supress_warnings() { || ... } click to toggle source
# File lib/bogus/support.rb, line 3
def self.supress_warnings
  old_verbose = $VERBOSE
  $VERBOSE = nil
  yield
ensure
  $VERBOSE = old_verbose
end