class SimpleCov::ArrayFilter
Public Instance Methods
Source
# File lib/simplecov/filter.rb, line 48 def matches?(source_files_list) filter_argument.any? do |arg| source_files_list.filename =~ /#{arg}/ end end
Returns true if any of the file paths passed in the given array matches the string configured when initializing this Filter
with StringFilter.new
([‘some/path’, ‘other/path’])