Hi, I want to convert an array (with pairs [key,value]) to a hash. After googling a bit I got: Hash[*array.flatten] But this is not safe as Array#flatten is ...
確定! 回上一頁