Class: Mode::Connector::Dataset

Inherits:
Object
  • Object
show all
Defined in:
lib/mode/connector/dataset.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typesObject (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

#countObject (readonly)

Returns the value of attribute count.



6
7
8
# File 'lib/mode/connector/dataset.rb', line 6

def count
  @count
end

#pathObject (readonly)

Returns the value of attribute path.



4
5
6
# File 'lib/mode/connector/dataset.rb', line 4

def path
  @path
end