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.89.1 spec/support/warning_silencer.rb
pact_broker-2.89.0 spec/support/warning_silencer.rb
pact_broker-2.88.0 spec/support/warning_silencer.rb
pact_broker-2.87.0 spec/support/warning_silencer.rb
pact_broker-2.86.0 spec/support/warning_silencer.rb
pact_broker-2.85.1 spec/support/warning_silencer.rb
pact_broker-2.85.0 spec/support/warning_silencer.rb
pact_broker-2.84.0 spec/support/warning_silencer.rb
pact_broker-2.83.0 spec/support/warning_silencer.rb
pact_broker-2.82.0 spec/support/warning_silencer.rb
pact_broker-2.81.0 spec/support/warning_silencer.rb
pact_broker-2.80.0 spec/support/warning_silencer.rb
pact_broker-2.79.1 spec/support/warning_silencer.rb
pact_broker-2.79.0 spec/support/warning_silencer.rb
pact_broker-2.78.1 spec/support/warning_silencer.rb
pact_broker-2.78.0 spec/support/warning_silencer.rb
pact_broker-2.77.0 spec/support/warning_silencer.rb
pact_broker-2.76.2 spec/support/warning_silencer.rb
pact_broker-2.76.1 spec/support/warning_silencer.rb
pact_broker-2.76.0 spec/support/warning_silencer.rb