From: Christopher Swasey Date: 2008-04-30T14:32:17+09:00 Subject: Re: What is attr_accessor? ------=_Part_155_1633071.1209533537202 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Apr 30, 2008 at 1:25 AM, tenxian wrote: > I even don't know what attr_accessor is. #attr_accessor is a method of Module. http://ruby-doc.org/core/classes/Module.html Perhaps you might want to pickup a copy of the pickaxe book ( http://www.pragprog.com/titles/ruby/programming-ruby). It will firmly ground you in the fundamentals of the language. (attr_accessor, by the way, simply defines setter and getter methods for each symbol passed as a parameter) Christopher ------=_Part_155_1633071.1209533537202--