Richard,
I feel somewhat exhonerated of stupidity by noting
that that Thomas&Hunt discuss Here Documents in
two places, pp. 52. 204, but a quick reread
doesn’t reveal the nugget you reported … unless
I misread it again
Not to "unexhonerate" you, but in the section The Ruby Language/The
Basic Types/Strings, about the middle of the section:
“If a quoted string was used to specify the terminator, its quoting
rules will be applied to the here document; otherwise, double-quoting
rules apply.”
It's hard to beat the Pickaxe book...
- Warren Brown