each is definitely not very idiomatic Ruby. Your second solution is much better. The reason it gives an odd result is because the data_hash is ...
確定! 回上一頁