Create an array from hash replacing all of the keys and values with integers in Ruby : I have a hash in Ruby, like that:

    a = {"0" => ["2", "3"], "1" => "4", "3" => "5"}
and I need a function to make an array from it, like that:

    a = [[2, 3], 4, nil, 5]

Is there any simple way to do this?