class SimpleCov::BlockFilter
Public Instance Methods
matches?(source_file)
click to toggle source
Returns true if the block given when initializing this filter with SimpleCov::Filter.new {|src_file| … } returns true for the given source file.
# File lib/simplecov/filter.rb, line 40 def matches?(source_file) filter_argument.call(source_file) end