From: Phrogz Date: 2006-12-28T14:40:09+09:00 Subject: Re: where does song.name come from? chen li wrote: > On page 49 of Pickaxe 2 are some scripts: > > class Songlist > def with_title(title) > @songs.find{|song| title==song.name} > end > end > > I just wonder where the method "name" comes from and > what its purpose is here. Earlier in the book there is: class Song def name @name end ...