Module: Itiel::Script::ChainedStep

Included in:
RubyScript, SQLScript
Defined in:
lib/itiel/script/chained_step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#next_stepObject

Returns the value of attribute next_step.



4
5
6
# File 'lib/itiel/script/chained_step.rb', line 4

def next_step
  @next_step
end

Instance Method Details

#executeObject



13
14
15
# File 'lib/itiel/script/chained_step.rb', line 13

def execute(*)
  raise "execute is not implemented"
end

#input=(input_stream) ⇒ Object



8
9
10
11
# File 'lib/itiel/script/chained_step.rb', line 8

def input=(input_stream)
  self.execute(input_stream)
  next_step.input = input_stream if next_step
end