blob: d9834f2d79cab61e328a60191e4fc59e521f61d5 (
plain)
| 1
2
3
4
5
6
7
8
9
 | # Support code for running stuff with warnings disabled.
module Kernel
  def with_verbose_disabled
    verbose, $VERBOSE = $VERBOSE, nil
    result = yield
    $VERBOSE = verbose
    return result
  end
end
 |