Steve Tuckner
12/2/2003 6:52:00 PM
This is not at all what I expected. :-(
Are @_var variables just basically private instance variables (as in private
variables in C++?
Steve Tuckner
> -----Original Message-----
> From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]
> Sent: Tuesday, December 02, 2003 12:20 PM
> To: ruby-talk ML
> Subject: Re: Attempted roadmap of future instance variables....
>
>
> Hi,
>
> In message "Re: Attempted roadmap of future instance variables...."
> on 03/12/03, Steve Tuckner <STUCKNER@MULTITECH.COM> writes:
>
> |OK so the jist of it is that @_var variables are stored with
> the class of
> |the instance but the class has no access to that. That is all. Right?
>
> No. @_var variables are stored in the instance, but they are
> accessible only from methods defined in the same class.
>
> matz.