From: Phrogz Date: 2006-09-04T23:55:14+09:00 Subject: Re: Already stalled in Pick Axe book - could use some help ChrisH wrote: > Jeff Rohrer wrote: > > def to_s > > "Song: #@name--#@artist (#@duration)" > ... > You forgot the curly braces, should be > "Song: #{@name}--#{@artist} (#{@duration})" The curly braces are not needed for class, instance, or global variables. (And maybe some other situations I don't know about.) Jeff's original code is just fine.