Class: SimpleCov::BlockFilter
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Filter
|
|
|
Instance Chain:
self,
Filter
|
|
| Inherits: |
SimpleCov::Filter
|
| Defined in: | lib/simplecov/filter.rb |
Class Method Summary
Filter - Inherited
Instance Attribute Summary
Filter - Inherited
Instance Method Summary
-
#matches?(source_file) ⇒ Boolean
Returns true if the block given when initializing this filter with
BlockFilter.new{|src_file| …
Filter - Inherited
Constructor Details
This class inherits a constructor from SimpleCov::Filter
Instance Method Details
#matches?(source_file) ⇒ Boolean
Returns true if the block given when initializing this filter with BlockFilter.new {|src_file| … } returns true for the given source file.
# File 'lib/simplecov/filter.rb', line 72
def matches?(source_file) filter_argument.call(source_file) end