0
0
Fork 0

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:
Stormwind 2015-02-23 22:00:32 +01:00
parent 7e53960271
commit 9f653408d7
3 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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