From: "Ara.T.Howard" Date: 2004-04-16T12:24:12+09:00 Subject: Re: Hash, ==, key-value comparison On Fri, 16 Apr 2004, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Hash, ==, key-value comparison" > on 04/04/16, Elias Athanasopoulos writes: > > |* Change '==' method to compare only key-value pairs. > |* Add Hash#=== method to act like current Hash#== > > They are possible options, along with > > * add new method (e.g. content_equal?) for membership equality. > > I'm not sure which one is the best way to go. > > matz. s/content_equal/equiv/ ? -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328 | URL :: http://www.ngdc.noaa.gov/stp/ | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done ===============================================================================