From: walter@... Date: 2004-04-15T23:29:47+09:00 Subject: Re: Hash == not always working? Or am I missing something? > >>>>> "w" == walter writes: > > w> results = Hash.new{|h,k| h[k] = 0} > > [...] > > w> expected = {} > > your 2 Hash are not the same : they don't use the same default value > > > Guy Decoux > > > So even though the items are the same, that doesn't matter if the default value is different. Why would that be? And if so, should ri be updated to reflect this (or have newer version already been updated (I am using 1.8.1r11 Prag-Prog installer)? Walt ***************************************************** Walter Szewelanczyk IS Director M.W. Sewall & CO. email : walter@mwsewall.com 259 Front St. Phone : (207) 442-7994 x 128 Bath, ME 04530 Fax : (207) 443-6284 *****************************************************