Hi,
In message "[ruby-talk:13486] Re: Method and Proc equality"
on 01/04/04, Dave Thomas <Dave / PragmaticProgrammer.com> writes:
|Possible way round it would be to implement Method#codeHash and
|Method#name, so you could say
|
| m1.codeHash == m2.codeHash
|
|or
|
| m1.name == m2.name
|
|That way the developer gets control.
Hmm, making some attributes (class, name, defined_class etc.) open,
and node based equality check would be sufficient, I think.
RCR?
matz.