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/.