class SimpleCov::StringFilter
Public Instance Methods
Source
# File lib/simplecov/filter.rb, line 32 def matches?(source_file) (source_file.filename =~ /#{filter_argument}/) end
Returns true when the given source file’s filename matches the string configured when initializing this Filter
with StringFilter.new
(‘somestring)