Hi,

At Thu, 16 Jan 2003 17:46:38 +0900,
Pe, Botp wrote:
> > One more difference.  tabto strips after string 
> > interpolcation, whereas here-doc does before it. 
> > 
> >   hi = "  hi"
> >   s0 = %q{
> >       #{hi}
> >          how are you?
> >   }.tabto(0)
> >   # => "\nhi\nhow are you?\n"
> > 
> >   s1 = <<|EOS
> >          |#{hi}
> >          |  how are you?
> >   EOS
> >   # => "\n  hi\n  how are you?\n"
>  
> sir Nobu. Is this working on your _own_ Ruby version/patch?

Yes.

> Btw, as Dave suggested, can we takeoff the EOS part? Or maybe we combine
> both such that the ff is possible:
> 
>    s1 = <<|EOS
>           |#{hi}
>         I do not have the indenter
>           |  how are you?
>     me, too.. but ruby takes care of me :-)
>    EOS

Well, I don't like it very much... it may mislead me sometimes.

-- 
Nobu Nakada