From: Nathan Olberding Date: 2006-04-08T07:10:44+09:00 Subject: Re: Simple Question About Deleting Instances Austin Ziegler wrote: > So using attr_accessor doesn't declare a variable; it declares a pair of > methods that access and may instantiate a variable, but doesn't have to. > And *that* is why doing "attr_accessor :@var" really wouldn't be > appropriate. I guess to put my question simply, why is there a single context in which I can define class variables but not class methods (accessors for these variables)? Shouldn't the two be handled in the same context / scope / block / area-of-code? -- Posted via http://www.ruby-forum.com/.