Hi all!

I'm using ruby 1.82.  This is the code copy from www.ruby-lang.org,
programming ruby.

And I found that both the following code cannot run, with the following
error occur:

song_2.rbw:4:in `initialize': wrong number of arguments (3 for 0)
(ArgumentError)
	from song_2.rbw:4:in `new'
	from song_2.rbw:4

So, what is going wrong?

Thanks in advance!

CODE:
class Song
  def name
    @name
  end
  def artist
    @artist
  end
  def duration
    @duration
  end
end
aSong = Song.new("Bicylops", "Fleck", 260)
aSong.artist
aSong.name
aSong.duration

#--------------------------------------------------------------------------------------------

class Song
  attr_reader :name, :artist, :duration
end
aSong = Song.new("Bicylops", "Fleck", 260)
aSong.artist 	
aSong.name 	
aSong.duration