Robert Klemme
6/11/2007 2:40:00 PM
On 11.06.2007 16:26, w wg wrote:
> Hi,
>
> In php, I can use the following code :
>
> $str = <<<aa
> hello,
> how are you?
> aa
> ;
>
> But how can I do this in ruby ?
str = <<aa
hello,
how are you?
aa
or
# with interpolation, not shown in this example
str = %Q{aa
hello,
how are you?
}
or
# without interpolation
str = %q{aa
hello,
how are you?
}
Kind regards
robert