From: nobu.nokada@... Date: 2002-09-18T18:01:03+09:00 Subject: Re: comments and continuing strings on the next line Hi, At Tue, 17 Sep 2002 23:53:48 +0900, William Djaja Tjokroaminata wrote: > In my opinion, the #{expression} rule ought to take precedence than the > comment rule (comment from # until the end of line). Just like in C, > where a /* */ comment becomes ineffective inside a string, and also in > Ruby, so I usually regard #{...} as another "mini-interpreter" where > .... is "eval"-ed in its own space. Comments are from # until EOL, always. And also comment in Ruby is ineffective too. If you want "eval"-like effect, I guess it's better to use "eval". > Is there any drawback in the rule in 1.6 so that it should be changed in > 1.7? Now you don't need to escape quotes even inside a nested string interpolation. And another issue, see the threads start from [ruby-talk:40979] and [ruby-core:00042]. -- Nobu Nakada