Sha256: 1ffdbb44e9ecd554c05d77672c0e355c72b8182a987047a6a427efc258e66c44

Contents?: true

Size: 180 Bytes

Versions: 3

Compression:

Stored size: 180 Bytes

Contents

module Bogus
  module Support
    def self.supress_warnings
      old_verbose = $VERBOSE
      $VERBOSE = nil
      yield
    ensure
      $VERBOSE = old_verbose
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bogus-0.1.7 lib/bogus/support.rb
bogus-0.1.6 lib/bogus/support.rb
bogus-0.1.5 lib/bogus/support.rb