Class: RSpecTracer::StringFilter Private
- Defined in:
- lib/rspec_tracer/filter.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Internal StringFilter — see RSpecTracer for the user-facing surface.
Instance Attribute Summary
Attributes inherited from Filter
Instance Method Summary collapse
-
#match?(source_file) ⇒ Boolean
private
Internal method on the tracer pipeline.
Methods inherited from Filter
filter_class, #initialize, register
Constructor Details
This class inherits a constructor from RSpecTracer::Filter
Instance Method Details
#match?(source_file) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Internal method on the tracer pipeline.
99 100 101 |
# File 'lib/rspec_tracer/filter.rb', line 99 def match?(source_file) source_file[:file_name].include?(@filter) end |