Displaying 1 result from an estimated 1 matches for "12x32".
Did you mean:
1232
2008 Jul 24
1
ruby issue : mixing Hash and Array
I have been trying to set up an hash without any success ::
here is what I tested (I splitted it to detail my understanding or
error...)
h = {"2008" => []} => {"2008"=>[]}
months = Array.new(12, []) => [[], [], [], [], [], [], [], [],
[], [], [], []]
h[''2008''] = months => => [[], [], [], [], [], [], [], [], [], [],
[], []]