From: Phrogz Date: 2007-01-18T01:55:04+09:00 Subject: Re: String pleasure Devin Mullins wrote: > benjohn@fysh.org wrote: > > Anyone know when you do and don't need to place ''s around the string > > terminator? > '' tells Ruby not to interpolate, while the default (without quotes) is > to do so. You can also use quotes (single or double) to use a more funky > delimiter. - lets you indent the ending delimiter. The above is correct, unlike (I think) some other answers in this thread. To be clear about it: a = < 2 #=> #{1+1} #=> 2 #=> 2 #=> #{1+1} #=> 2