Hi,

In message "Re: private variables"
    on 02/09/12, Christian Szegedy <szegedy / nospam.or.uni-bonn.de> writes:

|> Oh, I forget to mention that private instance variables should not be
|> exported by attr_accessor etc., because of the fact these variables
|> are private.  Publicly exported private instance variable is
|> contradicting existence.

|I wonder why. Could you give some concrete reason for it?
|
|I thought, being private for a variable means that it can
|only be acessed by the methods of its class to avoid
|name collisions with instance variables in derived classes.

Yes.  Hence it should not be exported as an attribute method, which
can be seen from everywhere.  Am I missing something?

							matz.