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.
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, count, column_types) ⇒ Dataset
constructor
A new instance of Dataset.
Constructor Details
#initialize(path, count, column_types) ⇒ Dataset
Returns a new instance of Dataset.
9 10 11 12 13 |
# File 'lib/mode/connector/dataset.rb', line 9 def initialize(path, count, column_types) @path = path @count = count @column_types = column_types end |
Instance Attribute Details
#column_types ⇒ Object (readonly)
Returns the value of attribute column_types.
7 8 9 |
# File 'lib/mode/connector/dataset.rb', line 7 def column_types @column_types end |
#count ⇒ Object (readonly)
Returns the value of attribute count.
6 7 8 |
# File 'lib/mode/connector/dataset.rb', line 6 def count @count 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 |