From: "Hal E. Fulton" Date: 2003-06-17T08:17:18+09:00 Subject: Re: Multiline comments? ----- Original Message ----- From: "daz" Newsgroups: comp.lang.ruby To: "ruby-talk ML" Sent: Monday, June 16, 2003 5:18 PM Subject: Re: Multiline comments? > I used to use this until I saw another post which > pointed out that Ruby string-interpolates inside > here-docs :( > .... or :) ? > > > puts 'AA' > > < puts 'BB', #{puts 'Oops'} > CMT > > puts 'CC' > > > #-> AA > #-> Oops > #-> CC > > > (And it's not always so obvious what has executed) > > Recommend .never. to use this for m-l-comments. Good point... but there's always <<'EOF' I will not interpolate: #{destroy_world()} EOF Hal