projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
diabelli to sso_rp
[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