From: Daniel Schierbeck Date: 2006-08-13T21:45:10+09:00 Subject: Re: PATCH to make internal Hash class retain order... This is a question that has been raised during an earlier discussion of this issue: What should this expression return? {:foo => 1, :bar => 2} == {:bar => 2, :foo => 1} I don't think there's any way around it returning `true', but that would decrease the usefulness of ordered hashes. One solution would be that Hash#== returns true in such cases while Hash#eql? returns false, just as 2 == 2.0 => true 2.eql? 2.0 => false Cheers, Daniel