summaryrefslogtreecommitdiff
path: root/spec/ignore-gem-warnings.rb
blob: d04bea42dac96d483b339953cd8df4d902c82189 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Warning
  module Processor
    def warn str
      super unless str.start_with?(*Gem.path)
    end
  end

  extend Processor
end