Method: SimpleCov::ArrayFilter#matches?

Defined in:
lib/simplecov/filter.rb

#matches?(source_files_list) ⇒ Boolean

Returns true if any of the filters in the array match the given source file. Configure this Filter like StringFilter.new([‘some/path’, /^some_regex/, Proc.new {|src_file| … }])

Returns:



88
89
90
91
92
# File 'lib/simplecov/filter.rb', line 88

def matches?(source_files_list)
  filter_argument.any? do |arg|
    arg.matches?(source_files_list)
  end
end