From: Corey Konrad <0011@...> Date: 2007-03-18T01:43:52+09:00 Subject: Re: attr_accessor question Stefano Crocco wrote: > Alle sabato 17 marzo 2007, Corey Konrad ha scritto: >> puts "Now the size of the animal is #{animal.size)" > > You wrote ) instead of }. Aside from that, your code doesn't give me any > error. > > By the way, you can declare more than one accessor at the time: > > attr_accessor :color, :size, :age > > Stefano ah ok man just a simple parentheses i hate when that happens, attr_accessor :color, :size, :age wow i can even make it shorter i love that grazie mille -- Posted via http://www.ruby-forum.com/.