On 11 May 2009, at 17:37, Mario Ruiz wrote:
> Hi,
>
> I have a piece of code like:
> xmlData=<<-EOF
>  xml code
> EOF
>
> I need to change it into:
> xmlData="
>  xml code
> "
>
> but I don't know why... it doesn't work when I change it into a normal
> string.
>
> Any idea?

Are you escaping all double quotes in the string?
Also, why do you need to make the change?


Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net
----
raise ArgumentError unless @reality.responds_to? :reason