abstract class Spectator::ExampleFilter
- Spectator::ExampleFilter
- Reference
- Object
Overview
Base class for all example filters.
Checks whether an example should be run.
Sub-classes must implement the #includes? method.
Direct Known Subclasses
- Spectator::CompositeExampleFilter
- Spectator::LineExampleFilter
- Spectator::NameExampleFilter
- Spectator::NullExampleFilter
- Spectator::SourceExampleFilter
Defined in:
spectator/example_filter.crInstance Method Summary
- 
        #includes?(example : Example) : Bool
        
          Checks if an example is in the filter, and should be run. 
Instance methods inherited from class Object
  
  
    
      should(matcher : Spectator::Matchers::Matcher)
    should, 
    
  
    
      should_not(matcher : Spectator::Matchers::Matcher)
    should_not
    
  
    
    
  
Instance Method Detail
Checks if an example is in the filter, and should be run.