From: Stu Date: 2011-02-19T06:43:31+09:00 Subject: Re: question for newbie --90e6ba6e884ca61aab049c955dc7 Content-Type: text/plain; charset=ISO-8859-1 you need to remove the space between << and END_STR for the heredoc to work like so here = < wrote: > a = << END_STR > This is the string > And a second line > END_STR > puts a > > > What does it mean? > I kept getting this error > > > q1.rb:1: syntax error, unexpected tLSHFT > a = << END_STR > > -- > Posted via http://www.ruby-forum.com/. > > --90e6ba6e884ca61aab049c955dc7--