class SimpleCov::StringFilter
Public Instance Methods
matches?(source_file)
click to toggle source
Returns true when the given source file's filename matches the string configured when initializing this Filter with SimpleCov::Filter.new('somestring)
# File lib/simplecov/filter.rb, line 52 def matches?(source_file) source_file.project_filename.include?(filter_argument) end