From: Syver Enstad Date: 2002-09-15T08:06:11+09:00 Subject: Re: Total newbie, to_s method and format strings "Shashank Date" writes: > > "Song: #(@name)--#(@artist) (#(@duration))" > ^ ^ ^ > This should be curly braces { }, like so: > > "Song: #{@name}--#{@artist} (#{@duration})" Ahh, great. In the print in the online version of Programming Ruby they look almost identical. -- Vennlig hilsen Syver Enstad