Class: Impex::Row
- Inherits:
-
Object
- Object
- Impex::Row
- Defined in:
- lib/impex/row.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
readonly
Returns the value of attribute columns.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(columns = {}, file_config = {}) ⇒ Row
constructor
A new instance of Row.
Constructor Details
#initialize(columns = {}, file_config = {}) ⇒ Row
Returns a new instance of Row.
5 6 7 8 |
# File 'lib/impex/row.rb', line 5 def initialize(columns = {}, file_config = {}) @columns = columns @table = file_config[:table] end |
Instance Attribute Details
#columns ⇒ Object (readonly)
Returns the value of attribute columns.
3 4 5 |
# File 'lib/impex/row.rb', line 3 def columns @columns end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
3 4 5 |
# File 'lib/impex/row.rb', line 3 def table @table end |