Sha256: 63f8d60604830819c3621709b8bfc6084f1a6e0b8a15251c0c2001fce350e479

Contents?: true

Size: 172 Bytes

Versions: 6

Compression:

Stored size: 172 Bytes

Contents

module Kernel
  def suppress_warnings
    original_verbosity = $VERBOSE
    $VERBOSE = nil
    result = yield
    $VERBOSE = original_verbosity
    return result
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
persistent_settings-1.5.0 spec/support/warnings_helper.rb
persistent_settings-1.4.0 spec/support/warnings_helper.rb
persistent_settings-1.3.0 spec/support/warnings_helper.rb
cached_belongs_to-0.0.3 spec/support/warnings.rb
cached_belongs_to-0.0.2 spec/support/warnings.rb
cached_belongs_to-0.0.1 spec/support/warnings.rb