Class: Dap::Filter::FilterNotExists
- Inherits:
-
FilterExists
- Object
- FilterExists
- Dap::Filter::FilterNotExists
- Includes:
- Base
- Defined in:
- lib/dap/filter/simple.rb
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#process(doc) ⇒ Object
188 189 190 191 |
# File 'lib/dap/filter/simple.rb', line 188 def process(doc) exists_doc = super(doc) exists_doc.empty? ? [ doc ] : [ ] end |