Class: FilterNonMatches
Instance Attribute Summary
Attributes inherited from Filter
#full_name, #name, #next, #regexp
Instance Method Summary collapse
Methods inherited from Filter
add, #add, #each, #initialize
Constructor Details
This class inherits a constructor from Filter
Instance Method Details
#filter(path, file) ⇒ Object
60 61 62 63 64 65 66 |
# File 'lib/filters.rb', line 60 def filter(path, file) if @regexp =~ text(path, file) next_filter(path, file) else false end end |