From: Daniel Schierbeck Date: 2006-06-02T19:19:36+09:00 Subject: Re: An alternative to the class Foo < Struct.new(vars) idiom and SuperStruct Hal Fulton wrote: > That's another example of why I would like a data structure > that 1) had a convenient notation for literals and 2) was > "like" a Hash, but ordered. Wow, it would be great if we then could use #to_hash to determine whether an object is a hash, and then not require that the return value of that method be an instance of Hash. Then we could create an ordered hash from scratch, and use it all the places we currently use a hash. Wait... Daniel