class SimpleCov::ArrayFilter

def matches?(source_files_list)

configured when initializing this Filter with StringFilter.new(['some/path', 'other/path'])
Returns true if any of the file paths passed in the given array matches the string
def matches?(source_files_list)
  filter_argument.any? do |arg|
    source_files_list.filename =~ /#{arg}/
  end
end