From: Joel VanderWerf Date: 2007-08-02T16:02:36+09:00 Subject: Re: ordered hashes/ yaml? Hal Fulton wrote: > Joel VanderWerf wrote: >> You can monkey-patch Hash to do it: > > Do you really use that term that way? I wince when I read it. ;) Hm. Ruby-quiz: find a better term... >> class Hash > > [snip] > > But that sorts the keys... wouldn't he have to add a field to each > key on which to sort, if he wanted to preserve original order? Erg. It's way too late for me to be posting. You're quite right. All that my simian patch does is sort in an order that is probably quite unwanted. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407