From: Robert Feldt Date: 2001-04-04T23:12:24+09:00 Subject: [ruby-talk:13482] Re: Method and Proc equality On Wed, 4 Apr 2001, Dave Thomas wrote: > Neither class Method nor class Proc implement '==', so it defaults to > Object's version of ==, which tests based on object identity. > Yeah, but I guess you could ask why the identities are not the same. I know the low-level reason (mnew creates a new Method object for each call to method and thus different identities) but is there a deep reason for this behavior? Maybe add some way to get to the identity of the underlying block called? /Robert