fruits = [[6, "apple"], [7, "orange"], [8, "grape"], [24, "banana"], [30, "strawberry"], [66, "lemon"]]
Hash[*fruits.flatten(1)] # => {6=>"apple", 7=>"orange", 8=>"grape", 24=>"banana", 30=>"strawberry", 66=>"lemon"}
Hash[fruits.map {|key, value| [key, value]}] # => {6=>"apple", 7=>"orange", 8=>"grape", 24=>"banana", 30=>"strawberry", 66=>"lemon"}
Hash[fruits] # => {6=>"apple", 7=>"orange", 8=>"grape", 24=>"banana", 30=>"strawberry", 66=>"lemon"}
Ruby > 2.1.0
fruits.to_h # => {6=>"apple", 7=>"orange", 8=>"grape", 24=>"banana", 30=>"strawberry", 66=>"lemon"}