Module: Itiel::Lookup::ChainedStep

Included in:
CSVFile, DatabaseTable
Defined in:
lib/itiel/lookup/chained_step.rb

Overview

This module defines the input and output behavior of Lookup Steps.

Whenever the instance receives input, it calls lookup! and set its return value as the input of its next_step if defined.

All the classes that include this moudle must implement lookup!

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



30
31
32
# File 'lib/itiel/lookup/chained_step.rb', line 30

def self.included(receiver)
  receiver.send :include, InstanceMethods
end