On Saturday, Sep 14, 2002, at 22:46 US/Pacific, Shashank Date wrote:

> Is it true for "here documents" in general or is it due to the way
> RubyInline gets implemented ?

Single quoting a here document is just like single quoting any string. 
Interpolation and backslash translation does not occur. What you found 
is not a bug in RubyInline at all, it's doing exactly what you told it 
to do. But C doesn't like strings that span more than one line, so you 
are generating bad C code. It has nothing to do with the way RubyInline 
is implemented.