From: Tom Sawyer Date: 2002-08-27T12:18:55+09:00 Subject: Re: Hybrid hash and array? you may find this interesting as well, it takes the idea a step further: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/46561 i've started to look into an implmentation of this "Array + Hash in one" class, but i don't have the time. also there is an ordered hash in the RAA: http://www.ruby-lang.org/en/raa-list.rhtml?name=PseudoHash ~transami On Mon, 2002-08-26 at 21:06, Joseph McDonald wrote: > > PM> The data structure I really want is like a hash, except that it > PM> maintains its key/value pairs in the order that I defined them. > > See this: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/20551 > > Find the latest here: > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/httpmail/httpmail/ruby/cookies.rb?rev=1.4&content-type=text/vnd.viewcvs-markup > > regards, > -joe > > -- ~transami