[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Class-level readers and writers

dblack

11/30/2003 6:20:00 PM

1 Answer

ts

11/30/2003 6:26:00 PM

0

>>>>> "D" == David A Black <dblack@wobblini.net> writes:

D> I'm not sure I follow entirely -- which one was wrongly called that?

Initially @_var were called "private instance variable", but it's stupid
because an instance variable is private to the instance.

They were renamed "class local variable" to say that you can access this
instance variable *only* in the class where this variable was created


Guy Decoux