Class: Remi::Extractor::DataFrame
- Inherits:
-
Remi::Extractor
- Object
- Remi::Extractor
- Remi::Extractor::DataFrame
- Defined in:
- lib/remi/data_subjects/data_frame.rb
Overview
DataFrame extractor. This class is used to hard-code a dataframe as a simple array of rows.
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Attributes inherited from Remi::Extractor
Instance Method Summary collapse
-
#extract ⇒ Object
Self.
-
#initialize(*args, **kargs, &block) ⇒ DataFrame
constructor
A new instance of DataFrame.
Constructor Details
#initialize(*args, **kargs, &block) ⇒ DataFrame
Returns a new instance of DataFrame.
32 33 34 35 |
# File 'lib/remi/data_subjects/data_frame.rb', line 32 def initialize(*args, **kargs, &block) super init_data_frame_extractor(*args, **kargs, &block) end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
37 38 39 |
# File 'lib/remi/data_subjects/data_frame.rb', line 37 def data @data end |
Instance Method Details
#extract ⇒ Object
Returns self.
40 41 42 |
# File 'lib/remi/data_subjects/data_frame.rb', line 40 def extract self end |