Module: KKGit::RubyWarnings::WarnFilter
- Defined in:
- lib/kk/git/ruby_warnings.rb
Instance Method Summary collapse
Instance Method Details
#warn(*messages, category: nil, **kwargs) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/kk/git/ruby_warnings.rb', line 9 def warn(*, category: nil, **kwargs) filtered = .reject { |m| KKGit::RubyWarnings.ignore?(m) } return if filtered.empty? super(*filtered, category: category, **kwargs) end |