unknown wrote in post #1092079:
> Am 12.01.2013 20:08, schrieb Joel Pearson:
>> temparray.each { |ar| users_passwords[ar[0]] = ar[1] }
> or: users_passwords = Hash[temparray]

Nice! I didn't know about that trick.

-- 
Posted via http://www.ruby-forum.com/.