projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b2683df048364dec4990db9c4d19651edd98b13a
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
spec
/
lib
/
puppet_spec
/
verbose.rb
1
#! /usr/bin/env ruby -S rspec
2
# Support code for running stuff with warnings disabled.
3
module Kernel
4
def with_verbose_disabled
5
verbose, $VERBOSE = $VERBOSE, nil
6
result = yield
7
$VERBOSE = verbose
8
return result
9
end
10
end