Subject: Help with <<-EOF
From: Mario Ruiz <tcblues gmail.com>
Date: Tue, 12 May 2009 01:37:09 +0900
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?
--
Posted via http://www.ruby-forum.com/.