Hey everyone,

I've found a code part that I don't understand:



def runCode
 return <<STARTCODE
  (..)
 STARTCODE
end


Unfortunately the google search doesn't work because the << will be
ignored.
Could you explain what it's doing?

Oh, and I can't try out what it's doing because I'll get the error that
STARTCODE can't be found until EOF...

Thx

-- 
Posted via http://www.ruby-forum.com/.