From: Ben Edwards Date: 2007-07-14T00:30:06+09:00 Subject: Re: Problem with example from pickax book On 13/07/07, Axel Etzold wrote: > Dear Ben, > > > irb(main):040:0* class SongList > > irb(main):041:1> MAX_TIME = 5*60 # 5 minutes > > irb(main):042:1> > > irb(main):043:1* def Songlist.is_too_long(song) > ^^^^^^^^^ > > Just leave out the underlined "Songlist." Its actually supposed to be a class method, but ive spotted the error. It should be SongList, not Songlist (the L needs to be upper case). Ta, Ben > Best regards, > > Axel > -- > Psssst! Schon vom neuen GMX MultiMessenger geh�rt? > Der kanns mit allen: http://www.gmx.net/de/go/multimessenger > > -- Ben Edwards - Bristol, UK http://www.flickr.com/photos/41303704@N00/ - have a look at my pics If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct)