From: Logan Capaldo Date: 2007-09-02T09:07:34+09:00 Subject: Re: attr_reader On 9/1/07, 7stud *** wrote: > Actually, I think attr_reader does create the instance variables: > > class Song > attr_reader :name, :artist, :duration > end > > song = Song.new > > puts song.name > puts song.artist > puts song.duration Nope. It's just that an undefined instance variable is treated as though it were nil. Try this on for size: puts song.name puts song.instance_variables