From: Richard Kilmer Date: 2003-01-16T01:44:22+09:00 Subject: Re: ruby-dev summary 19198-19345 On Wednesday, January 15, 2003, at 11:00 AM, Dave Thomas wrote: > Matt Armstrong wrote: >> I just though, why not "<<|FOO". In other words, the '-' in there >> doesn't serve much purpose. >> s = <<|FOO >> |this >> | is >> | my >> | text >> FOO > > In fact, neither does the 'FOO' > > s = <<|Now is the time > | For all good men > | to code Ruby > p s.length > > So any line that _doesn't_ start with the given delimiter (ignoring > leading whitespace) ends the string. OK...so I have been holding out until now. This rocks. +1 -rich