Class: Pipeline::Base
- Inherits:
-
Object
- Object
- Pipeline::Base
- Defined in:
- lib/etl-pipeline.rb
Instance Attribute Summary collapse
-
#importer ⇒ Object
Returns the value of attribute importer.
-
#parser ⇒ Object
Returns the value of attribute parser.
Instance Method Summary collapse
- #import(*args) ⇒ Object
-
#initialize ⇒ Base
constructor
A new instance of Base.
- #parse(*args) ⇒ Object
Constructor Details
Instance Attribute Details
#importer ⇒ Object
Returns the value of attribute importer.
76 77 78 |
# File 'lib/etl-pipeline.rb', line 76 def importer @importer end |
#parser ⇒ Object
Returns the value of attribute parser.
76 77 78 |
# File 'lib/etl-pipeline.rb', line 76 def parser @parser end |
Instance Method Details
#import(*args) ⇒ Object
87 88 89 |
# File 'lib/etl-pipeline.rb', line 87 def import *args importer.import *args end |
#parse(*args) ⇒ Object
83 84 85 |
# File 'lib/etl-pipeline.rb', line 83 def parse *args parser.parse *args end |