Sha256: 7e57756f25c2b4c47f008e87fbc6269bd3b2e4beb54d5086484fbaf412c2dd69

Contents?: true

Size: 133 Bytes

Versions: 110

Compression:

Stored size: 133 Bytes

Contents

module WarningSilencer
  extend self

  def enable
    old, $VERBOSE = $VERBOSE, nil
    yield
  ensure
    $VERBOSE = old
  end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
pact_broker-2.19.1 spec/support/warning_silencer.rb
pact_broker-2.19.0 spec/support/warning_silencer.rb
pact_broker-2.18.0 spec/support/warning_silencer.rb
pact_broker-2.17.1 spec/support/warning_silencer.rb
pact_broker-2.17.0 spec/support/warning_silencer.rb
pact_broker-2.16.1 spec/support/warning_silencer.rb
pact_broker-2.16.0 spec/support/warning_silencer.rb
pact_broker-2.15.0 spec/support/warning_silencer.rb
pact_broker-2.14.0 spec/support/warning_silencer.rb
pact_broker-2.13.1 spec/support/warning_silencer.rb