On Mon, 4 Jan 2010 04:24:32 -0800 (PST)
George Adamson <[email protected]> wrote:

> Hi there,
> 
> I'd normally expect something like
>   my_variable = 'world'
>   my_message = 'hello #{my_variable}'
> to produce a delightful formatted string in the my_message variable.
> 

my_message = "hello #{my_variable}"

#{...} is only interpolated in strings with double quotes.

Regards
Jon

--

You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/merb?hl=en.


Reply via email to