Map over a Hash. There's a new method (since Ruby 2.4) called Hash#transform_values that you could use pretty much like you would use an Array ...
確定! 回上一頁