Sha256: 4f1fe0a83cccd0d6c9789e2a98e4096594f47bdf6a58678bf0cb2fa40b8f1d95

Contents?: true

Size: 189 Bytes

Versions: 2

Compression:

Stored size: 189 Bytes

Contents

module Polyfill
  module Utils
    def ignore_warnings
      orig = $VERBOSE
      $VERBOSE = nil

      yield

      $VERBOSE = orig
    end
    module_function :ignore_warnings
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
polyfill-0.8.0 lib/polyfill/utils.rb
polyfill-0.7.0 lib/polyfill/utils.rb