From: Trans Date: 2006-12-27T05:12:22+09:00 Subject: Re: Hash with two identical keys? William James wrote: > Trans wrote: > > thanks Ara and Jon, > > > > I see what your saying. I was using #== not #eql? in comparing the > > keys. So I see why it's faling now. How do I get aorund this? I'm > > caching object based on therr initialization paramaters, which has to > > be an array. Is there a simpler way or do I have to do something like: > > > > class Parameters < Array > > alias :eql? :== > > end > > > > T. > > How about association lists? Thanks William! That's what I did and worked (desipite inefficency). T.