From: Austin Ziegler Date: 2006-06-27T00:24:35+09:00 Subject: Re: end_eval On 6/26/06, Brad Chase wrote: > Trying to teach myself some metaprogramming and have been sifting > through the rails source. I often see: > module_eval << -end_eval > stuff to add > end_eval > > I understand what this does, but I'm curious what part of the language > the -end_eval construct is coming from. module_eval <<-EOS string-of-stuff-to-add EOS It's what's called a heredoc. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca