Sha256: d35af9f97a74e8553196681c10e6e20c4e6df54c5b7bc6018ba9deef4e401359
Contents?: true
Size: 379 Bytes
Versions: 34
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true module DeepCover module Tools::SilenceWarnings # copied from: activesupport/lib/active_support/core_ext/kernel/reporting.rb def silence_warnings with_warnings(nil) { yield } end def with_warnings(flag) old_verbose = $VERBOSE $VERBOSE = flag yield ensure $VERBOSE = old_verbose end end end
Version data entries
34 entries across 34 versions & 2 rubygems