[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Adding a =~ method to the Method class

Yukihiro Matsumoto

5/7/2009 7:44:00 AM

Hi,

In message "Re: Adding a =~ method to the Method class"
on Thu, 7 May 2009 16:02:09 +0900, Gabriel Saravia <gabe.saravia@gmail.com> writes:

|At this moment, I would very much like it if it also had a "=~" method:
|"two method objects are similar if they contain the same body but are
|NOT necessarily bound to the same object"

I am not sure how do you use this similarity check? Example?

matz.