[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Mixins and variables

Florian Groß

12/7/2005 2:09:00 PM

1 Answer

Gary Wright

12/7/2005 3:26:00 PM

0


On Dec 7, 2005, at 9:09 AM, Florian Groß wrote:

> gwtmp01@mac.com wrote:
>
>> self.x = 4 # explicit method call
>> x() = 4 # also explicit but not 'rubyish'
>
> Hm, and a syntax error as well, if I'm not wrong.

My bad. I really should cut and paste into irb...