On 5/18/07, jim o <jamesoyim / yahoo.com> wrote: > I have had a horrible time googling this as I get too many hits back that don't apply. > > > > 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 > > Does anyone have any pointers? You mean: puts "#{a}" Right? If so then it simply helps to do: puts "foo=#{a} allows you to do more interesting things" If you just want to print 'a' then there's no reason to do "#{a}" it would be like doing "%s" % [a]; you can do it, but it doesn't make sense. -- Felipe Contreras