We have to convert it to an array, reverse it, and send it back to a hash. This works for nested hashes as well. my_hash = { :key_1 => 1 ...
確定! 回上一頁