Nobu [mailto:nobu.nokada / softhome.net] 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?
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
 


> Nobu Nakada

kind regards -botp