From: matz@... (Yukihiro Matsumoto) Date: 2002-09-17T01:51:34+09:00 Subject: Re: private variables Hi, In message "Re: private variables" on 02/09/17, James F.Hranicky writes: |Are we dead set against "attr_private" ? | | class Foo | attr_private :bar | end | |? I'm not going to choose attr_private (unless someone put some idea in my brain), because a) we need static information about class local instance variable at compile time. Dynamic attr_priate at run time is too late. b) if we choose attr_private (by making it a syntax), we need to search for declaration to distinguish whether a instance variable is class local or not. I don't feel it's a Ruby Way (tm). matz.