On Wed, 4 Apr 2001, Robert Feldt wrote: Sorry for responding to my own mail but it was obviosuly flawed... ;-) > 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? > Since Ruby is dynamic the method might change between calls to method right? I agree with Eric that it would be nice to compare the low-level block they refer to though. Its been a long day... /Robert