Class: Retl::StepHandler

Inherits:
Handler show all
Defined in:
lib/retl/handlers/step_handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Handler

#output

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

#stepObject (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