To All,

I just fired up Ruby-1.6.2. It compiled without any problems (linux).
I --enabled-shared, ran ldconfig and started the irb flawlessly, of
course :-)

Using the Pickaxe book (love that name), on page 24, I entered the
following:

class Song
  attr_reader :name, :artist:, :duration
end

aSong = Song.new("Bicylops", "Fleck", 260)

results were:

irb(main):004:0> aSong = Song.new("Bicylops", "Fleck", 260)
ArgumentError: wrong # of arguments(3 for 0)
(irb):4:in `initialize'
(irb):4:in `new'
(irb):4:in `irb_binding'
irb(main):005:0> 

so what key piece of information did I miss in order to make this work?

Thanks for your time.

John C.