Use new Storage class
The new Storage class is now used. It's atm not used, as it should be, but for the first implementation it's okay. Improvement will follow.
This commit is contained in:
parent
7e53960271
commit
9f653408d7
|
@ -29,7 +29,8 @@ module Rubella
|
|||
@symbols.keys.join(", ")
|
||||
end
|
||||
|
||||
def create parsed_list
|
||||
def create storage
|
||||
parsed_list = storage.data
|
||||
buckets = parsed_list[0].length
|
||||
columns = parsed_list.length
|
||||
|
||||
|
|
|
@ -10,7 +10,8 @@ module Rubella
|
|||
@field_size = field_size
|
||||
end
|
||||
|
||||
def create parsed_list
|
||||
def create storage
|
||||
parsed_list = storage.data
|
||||
buckets = parsed_list[0].length
|
||||
columns = parsed_list.length
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ module Rubella
|
|||
|
||||
# total amount of cores
|
||||
total_amount = data[0].length
|
||||
# TODO check somewhere, if every dataset has the same amount of cores
|
||||
|
||||
# prepare data
|
||||
data_list = Array.new()
|
||||
|
@ -38,7 +37,7 @@ module Rubella
|
|||
end
|
||||
end
|
||||
|
||||
data_list
|
||||
Rubella::Storage.new data_list
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue