From: matz@... (Yukihiro Matsumoto) Date: 2004-04-16T00:47:58+09:00 Subject: Re: Hash == not always working? Or am I missing something? Hi, In message "Hash == not always working? Or am I missing something?" on 04/04/15, walter@mwsewall.com writes: |I am having difficulty with Hash and sometimes Arrays with ==. Below |is an example with Hashes. I am trying to do some simple cleanup of |our data and was trying TDD some code but I do not understand why it |says my 2 Hashes are different. They appear identical but show up as |false using ==. Because they have different default proc (the one has none, the other have {|h,k| h[k] = 0}. The document should have mentioned about the default value. matz.