>>As far as Ruby goes, I'm definitely going to need your help 
>>for the weird stuff (e.g. heredocs), but most of the edge 
>>cases are just edge cases and I think I can deal with those.
>>
>>-mental
> 
> 
> Then ditch heredocs.  I can't think of a case where I desperately needed
> a heredoc over, say, %q{}.

+1
especially for stuff like multiple here docs headers in one line:
a=<<EoA, b= <<EoB
fofofo
EoA
blabla
EoB