From: Sebastian Hungerecker Date: 2007-05-18T23:24:19+09:00 Subject: Re: Begineer question jim o wrote: > I am new to Ruby, and trying to find a good ref as for when one would use > the form > > puts #{a} > vs > puts a puts #{a} doesn't do anything (except return nil), so I'm going to assume you meant to say puts "#{a}". Since that does the same thing as puts a but is more to type, I'd always use the latter. The #{} syntax is only useful when you want to print out more than just the content of the variable. For example: puts "The value of x is #{x}" -- Ist so, weil ist so Bleibt so, weil war so