Or maintain an "order of insertion key array". On Thu, May 28, 2009 at 03:30:42PM +0900, Jarmo Pertman wrote: > Jou could use orderedhash gem to have hashes ordered like arrays for > example if you really need it for some reason: > http://codeforpeople.com/lib/ruby/orderedhash/ > > Markus Schirp wrote: > > Hashes enumeration does not mirror insertion order. > > Hashes are not ordered: > > > > http://en.wikipedia.org/wiki/Hash_table#Drawbacks > > > > Markus > > -- > Posted via http://www.ruby-forum.com/. >