Sha256: 9c8e532cb7852a4a345098fa9e5b2da77ad7ed5499b133dad84515fc2afe48c7

Contents?: true

Size: 207 Bytes

Versions: 861

Compression:

Stored size: 207 Bytes

Contents

# 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

Version data entries

861 entries across 857 versions & 4 rubygems

Version Path
puppet-7.28.0 spec/lib/puppet_spec/verbose.rb
puppet-7.28.0-x86-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-7.28.0-x64-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-7.28.0-universal-darwin spec/lib/puppet_spec/verbose.rb
puppet-7.27.0 spec/lib/puppet_spec/verbose.rb
puppet-7.27.0-x86-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-7.27.0-x64-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-7.27.0-universal-darwin spec/lib/puppet_spec/verbose.rb
puppet-8.2.0 spec/lib/puppet_spec/verbose.rb
puppet-8.2.0-x86-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-8.2.0-x64-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-8.2.0-universal-darwin spec/lib/puppet_spec/verbose.rb
puppet-7.26.0 spec/lib/puppet_spec/verbose.rb
puppet-7.26.0-x86-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-7.26.0-x64-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-7.26.0-universal-darwin spec/lib/puppet_spec/verbose.rb
puppet-7.25.0 spec/lib/puppet_spec/verbose.rb
puppet-7.25.0-x86-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-7.25.0-x64-mingw32 spec/lib/puppet_spec/verbose.rb
puppet-7.25.0-universal-darwin spec/lib/puppet_spec/verbose.rb