------art_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 <hi.steven.tu / gmail.com> 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

------art_155_1633071.1209533537202--