From: matz@... (Yukihiro Matsumoto) Date: 2002-09-13T17:07:34+09:00 Subject: Re: private variables Hi, In message "Re: private variables" on 02/09/13, Kent Dahl writes: |There is a (narrow) use here, where one might like to have a private |instance variable and share it out with attr_* methods; avoiding |namespace pollution in baseclasses that are to be subclassed alot. Possible. But, you know, attr_accessor is just a short form of: def foo @foo end def foo=(val) @foo=val end So you can export a private instance variable as an attribute by hand, but not by attr_accessor, etc. matz.