Class: ETL::Control::EnumerableSource
Overview
Use an Enumerable as a source
Instance Attribute Summary
Attributes inherited from Source
#configuration, #control, #definition, #local_base, #store_locally
Instance Method Summary (collapse)
-
- (Object) each(&block)
Iterate through the enumerable.
Methods inherited from Source
class_for_name, #errors, #initialize, #last_local_file, #last_local_file_trigger, #local_directory, #local_file, #local_file_trigger, #order, #read_locally, #timestamp
Constructor Details
This class inherits a constructor from ETL::Control::Source
Instance Method Details
- (Object) each(&block)
Iterate through the enumerable
6 7 8 |
# File 'lib/etl/control/source/enumerable_source.rb', line 6 def each(&block) configuration[:enumerable].each(&block) end |