Class: Retl::StepHandler
- Defined in:
- lib/retl/handlers/step_handler.rb
Direct Known Subclasses
ExplodeHandler, FilterHandler, InspectHandler, TransformHandler
Instance Attribute Summary collapse
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(step) ⇒ StepHandler
constructor
A new instance of StepHandler.
- #push_in(data, context) ⇒ Object
Methods inherited from Handler
Constructor Details
#initialize(step) ⇒ StepHandler
Returns a new instance of StepHandler.
7 8 9 10 |
# File 'lib/retl/handlers/step_handler.rb', line 7 def initialize(step) super() @step = step end |
Instance Attribute Details
#step ⇒ Object (readonly)
Returns the value of attribute step.
5 6 7 |
# File 'lib/retl/handlers/step_handler.rb', line 5 def step @step end |
Instance Method Details
#push_in(data, context) ⇒ Object
12 13 14 |
# File 'lib/retl/handlers/step_handler.rb', line 12 def push_in(data, context) push_out context.execute_step(step, data) end |