我无法理解这条评论.
Array({:a => "a", :b => "b"}) #=> [[:a, "a"], [:b, "b"]]
你能解释一下它的工作原理吗?
ruby arrays hash
arrays ×1
hash ×1
ruby ×1