Class: Threatinator::Filter
- Inherits:
-
Object
- Object
- Threatinator::Filter
- Defined in:
- lib/threatinator/filter.rb
Overview
Acts as a filter for parser data.
Direct Known Subclasses
Threatinator::Filters::Block, Threatinator::Filters::Comments, Threatinator::Filters::Whitespace
Instance Method Summary collapse
-
#filter?(record) ⇒ Boolean
What is passed in as arguments depends upon the parser.
Instance Method Details
#filter?(record) ⇒ Boolean
What is passed in as arguments depends upon the parser.
8 9 10 |
# File 'lib/threatinator/filter.rb', line 8 def filter?(record) raise NotImplementedError.new("#{self.class}.filter?(record) not implemented") end |