From: 7stud *** [mailto:dolgun / excite.com]
# Huh? As far as I can tell, no setter methods are created:
#
# class Song
# attr_reader :x, :y, :z
sorry, i misread your post. attr_reader only gives getters.
# My program has no attr_accessor line (the book hasn't mentioned
# attr_accessor yet). Your saying the initialize method in my program
# doesn't create the instance variables?
my english is poor. sorry. initialize will create it, but it's not the only way. you can create your own setters.
kind regards -botp