From: Trans Date: 2006-12-27T08:38:00+09:00 Subject: Re: Hash with two identical keys? ara.t.howard@noaa.gov wrote: > On Wed, 27 Dec 2006, Trans wrote: > > >> From Facets' multiton.rb (which is primarily Floran Franks' work), I'm > > getting somthing that doesn't make any sense: > > > > POOLS[self] ||= {} > > p POOLS[self].class > > p POOLS[self].keys > > > > Is outputing: > > > > Hash > > [[{:strip_comments=>false}], [{:strip_comments=>false}]] > > > > How can two identical keys be in a hash? > > > > T. > > hi trans- > > afaik multiton.rb is mine > > http://codeforpeople.com/lib/ruby/multiton/multiton-1.0.2/lib/multiton.rb Somehow I got Florian Franks name attached to that. Well, unless Florian's got something to say about it, I'll reattribute to you. Sorry about that! T.