module Warning::Processor
def convert_regexp(regexp)
def convert_regexp(regexp) case regexp when Regexp regexp when Symbol IGNORE_MAP.fetch(regexp) when Array Regexp.union(regexp.map{|re| IGNORE_MAP.fetch(re)}) else # nothing end end
def convert_regexp(regexp) case regexp when Regexp regexp when Symbol IGNORE_MAP.fetch(regexp) when Array Regexp.union(regexp.map{|re| IGNORE_MAP.fetch(re)}) else # nothing end end