Re:Ask HN: The importance of heredoc
by stcredzero on Thursday June 25, 2009 @10:43PM
(#674854)
Not confused. Heredoc is one of the things that complicates Ruby syntax from the implementer's POV.
Use heredoc for metaprogramming? Now I'm starting to believe in the Lisp dogma.
I supect you may be new to Ruby and confused by the heredoc sytnax. If so, this post has a review of some of the syntactical issues with heredocs:
http://log.gmarik.info/2007/12/rubys-here-document-heredoc-m...
Hope that helps.