Class: Retl::FilterHandler

Inherits:
StepHandler show all
Defined in:
lib/retl/handlers/filter_handler.rb

Instance Attribute Summary

Attributes inherited from StepHandler

#step

Instance Method Summary collapse

Methods inherited from StepHandler

#initialize

Methods inherited from Handler

#initialize, #output

Constructor Details

This class inherits a constructor from Retl::StepHandler

Instance Method Details

#push_in(data, context) ⇒ Object



5
6
7
8
# File 'lib/retl/handlers/filter_handler.rb', line 5

def push_in(data, context)
  keep = context.execute_step(step, data)
  push_out data if keep
end