class SimpleCov::BlockFilter

def matches?(source_file)

returns true for the given source file.
Returns true if the block given when initializing this filter with BlockFilter.new {|src_file| ... }
def matches?(source_file)
  filter_argument.call(source_file)
end