|
|
|
|
|
by firebug
6202 days ago
|
|
heredocs are great. I use them all the time for metaprogramming. I don't see them going out of style anytime soon. Not sure what you mean about complicated syntax. 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. |
|
Use heredoc for metaprogramming? Now I'm starting to believe in the Lisp dogma.