File: warnings.rb

package info (click to toggle)
ruby-dry-logger 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 444 kB
  • sloc: ruby: 2,170; makefile: 4; sh: 4
file content (13 lines) | stat: -rw-r--r-- 309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

# This file is synced from hanakai-rb/repo-sync

require "warning"

# Ignore warnings for experimental features
Warning[:experimental] = false if Warning.respond_to?(:[])

# Ignore all warnings coming from gem dependencies
Gem.path.each do |path|
  Warning.ignore(//, path)
end