From: dempsejn@... Date: 2001-12-18T04:55:20+09:00 Subject: [ruby-talk:28815] array.to_h with to_a it is possible to create an array from a hash...is there a function to do the opposite? a = [1,2,3,4] hash = a.to_h # h = {1=>2, 3=>4} perhaps there's a shortcut and that's where there's no to_h function, but i'm curious thanks! Jack