3 ms·
Ruby 1.9 makes Hash ordered by default. The major reason I care about it is that when loading data from yaml files the key order doesn't get messed up. In ruby
by dhotson 18y ago
Ruby 1.9 makes Hash ordered by default.
The major reason I care about it is that when loading data from yaml files the key order doesn't get messed up. In ruby 1.8 the order got messed up.
So yeah.. use ruby 1.9 :)