From: ts Date: 2002-10-11T14:36:49+09:00 Subject: Re: Private instance variables >>>>> "G" == Gavin Sinclair writes: G> attr_private :@foo It was proposed but you can't use it. For example class A def initialize @a = 12 end end class B < A; end b = B.new class B attr_private :@a end When ruby execute attr_private, it has lost the information that the instance variable @a was initialized in the class A You must know at compile time, if an instance is class local. Guy Decoux