Class: Mode::Connector::Dataset
- Inherits:
-
Object
- Object
- Mode::Connector::Dataset
- Defined in:
- lib/mode/connector/dataset.rb
Instance Attribute Summary collapse
-
#column_types ⇒ Object
readonly
Returns the value of attribute column_types.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, column_types) ⇒ Dataset
constructor
A new instance of Dataset.
Constructor Details
#initialize(path, column_types) ⇒ Dataset
Returns a new instance of Dataset.
7 8 9 10 |
# File 'lib/mode/connector/dataset.rb', line 7 def initialize(path, column_types) @path = path @column_types = column_types end |
Instance Attribute Details
#column_types ⇒ Object (readonly)
Returns the value of attribute column_types.
5 6 7 |
# File 'lib/mode/connector/dataset.rb', line 5 def column_types @column_types end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/mode/connector/dataset.rb', line 4 def path @path end |