Class: Dap::Filter::FilterInsert
- Inherits:
-
Object
- Object
- Dap::Filter::FilterInsert
- 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
125 126 127 128 129 130 |
# File 'lib/dap/filter/simple.rb', line 125 def process(doc) self.opts.each_pair do |k,v| doc[k] = v end [ doc ] end |