On 05/28/2013 03:31 PM, Tadeusz Bochan wrote:
> Hi.
> I get the following error from the following statement :
> s="#$"

This is global var interpolation, more or less the same as:

s="#{$"}

And so you can see why the parser is expecting a terminal double quote.

For example:

 >> Process.pid
=> 4574
 >> $$
=> 4574
 >> "#$$"
=> "4574"
 >> "#{$$}"
=> "4574"