From: Nikolai Weibull Date: 2004-12-03T00:28:17+09:00 Subject: Re: ordered hash ? * Austin Ziegler [Dec 02, 2004 16:00]: > > > Is there a pure-ruby ordered hash? I'm looking for something that > > > will preserve the order in which key/value pairs were entered. The > > > one on RAA is buggy http://raa.ruby-lang.org/project/orderedhash/ > > Having an ordered Hash is like saying that arrays should be indexed > > by strings--it's simply not what they are meant to be. > Be that as it may, it is still necessary to have an insertion-ordered > hash-like object. I just gave you one--you seem to have missed the gist of my posting. (You chopped it right off it seems...) nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}