Re: where does song.name come from?

From: Li Chen

The methods about class Song are everywhere on different pages.
Sometimes I get lost. I think it would be nice if somewhere in the
book(such as appendix) class Song and all its methods are put
together.

Perhaps if you start at the beginning of the book and type out the
examples yourself, you can build up the same classes as the examples are
showing you. (Or, if you bought the PDF, even copy/paste them directly.
Or, you can copy them from the web here:
http://www.pragmaticprogrammer.com/titles/ruby/code/index.html)