decko-commons/decko

View on GitHub
card/config/initializers/01_core_extensions/kernel.rb

Summary

Maintainability
A
0 mins
Test Coverage
module CoreExtensions
  module Kernel
    def suppress_warnings
      original_verbosity = $VERBOSE
      $VERBOSE = nil
      yield
    ensure
      $VERBOSE = original_verbosity
    end
  end
end