From: 7stud -- Date: 2007-09-02T18:03:52+09:00 Subject: Re: attr_reader Sebastian Hungerecker wrote: > attr_reader :duration creates the method duration, which returns the > instance variable @duration, even if the latter doesn't exist yet. > song.fake throws an error because there is no method fake Ok. Thanks for the explanation. -- Posted via http://www.ruby-forum.com/.