class SimpleCov::ArrayFilter
def initialize(filter_argument)
def initialize(filter_argument) filter_objects = filter_argument.map do |arg| Filter.build_filter(arg) end super(filter_objects) end
def matches?(source_files_list)
Returns true if any of the filters in the array match the given source file.
def matches?(source_files_list) filter_argument.any? do |arg| arg.matches?(source_files_list) end end