Hi, At Thu, 2 Oct 2008 05:25:10 +0900, James Gray wrote in [ruby-core:19090]: > Wasn't there a plan to strip leading whitespace out of indented > heredocs in Ruby 1.9? It doesn't look that is being done: IIRC, the discussion had stopped about how to tell the spaces to be removed. a) removes left side if optional punctuation exists: <<|END_HI # => " Hi!\n" | Hi! END_HI b) removes same spaces as the starting line indentation: <<<END_HI # => " Hi!\n" Hi! END_HI and so on. I can't find the thread now. -- Nobu Nakada