File: sequel_warning.rb

package info (click to toggle)
ruby-sequel 5.41.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,548 kB
  • sloc: ruby: 104,241; makefile: 3
file content (6 lines) | stat: -rw-r--r-- 211 bytes parent folder | download
1
2
3
4
5
6
if ENV['WARNING']
  require 'warning'
  Warning.ignore(:missing_ivar, File.dirname(File.dirname(__FILE__)))
  Warning.ignore(/gems\/(tzinfo|activesupport)-\d/)
  Warning.dedup if Warning.respond_to?(:dedup)
end