From: Elias Athanasopoulos Date: 2004-04-16T02:21:58+09:00 Subject: Re: Hash, ==, key-value comparison On Fri, Apr 16, 2004 at 02:04:10AM +0900, walter@mwsewall.com wrote: > Ok, > > ALthough the docs don't mention it, Hash comparison using == checks > not only the key value pairs, but also the default value / default > procs. > > So how does one compare 2 hashes key-value pairs. I can see that it I can contribute a patch to: * Change '==' method to compare only key-value pairs. * Add Hash#=== method to act like current Hash#== Comments? Regards, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky