Thanks, Lukasz. I appreciate the help. I was hoping there was a short answer. In reading the doc (now that you and Chris have helped me find it) it seems that I may need to explain (I'm working on a tutorial) the diff between 'evaluate' and 'substitute' since single quotes do do some substitution. Or maybe I'll just say something like "In case A, use x. In case B, use y. In case C, buy the book." ;-) Thanks again, Bill ----- Original Message ----- From: "?ukasz Piestrzeniewicz" <bragi.ragnarson@gmail.com> To: <rails@lists.rubyonrails.org> Sent: 2006-03-31 10:09 AM Subject: Re: [Rails] string interpolation - #{} vs. single vs. double quotes > In short: > > Double quotes and heredoc evaluate #{} > SIngle quotes do not evaluate > > http://www.rubycentral.com/book/tut_stdtypes.html#S2 > > Regards, > > ?ukasz > > On 31/03/06, Bill Walton <bill.walton@charter.net> wrote: > > > > Could someone point me to documentation that provides a succinct and > > accurate description of the difference between interpolation using #{}, > > single quotes, and double quotes ? > > > > I imagine there's a set of precedence rules that govern behavior if/when > > they're mixed. I'd like to get clear on this. > > > > Thanks, > > > > Bill > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > -- > ?ukasz Piestrzeniewicz > http://ragnarson.blogspot.com > ---------------------------------------------------------------------------- ---- > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >