Class: SimpleCov::RegexFilter
| 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 when the given source file’s filename matches the regex configured when initializing this
FilterwithRegexFilter.new(/someregex/). 
Filter - Inherited
Constructor Details
This class inherits a constructor from SimpleCov::Filter
Instance Method Details
    #matches?(source_file)  ⇒ Boolean 
  
Returns true when the given source file’s filename matches the regex configured when initializing this Filter with RegexFilter.new(/someregex/)
# File 'lib/simplecov/filter.rb', line 64
def matches?(source_file) (source_file.project_filename =~ filter_argument) end