On Thu, 16 Jan 2003, Joel VanderWerf wrote:

>
> irb(main):001:0> s = <<FOO + 'bar'
> irb(main):002:0"   foo
> irb(main):003:0" FOO
> "  foo\nbar"
>
> But I never used that much anyway. If I had to choose between this and
> Dave's suggestion, I'd choose the latter. It's very clear.

PO [1]:

        # with indetation deliberately botched:
        x = <<{Now is the time
                |For all good men
            |To come to
              } + "The aid of the party

x #-> "Now is the time\nFor all good men\nTo come to\nThe aid of the party"

        Hugh

[1] "Po: Beyond Yes and No" Edward de Bono.  Used here in the sense
of a possibly outrageous suggestion which may provoke better ideas.

>
>
>