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: $ cat heredoc_whitespace.rb def hi <<-END_HI Hi! END_HI end p hi $ ruby_dev heredoc_whitespace.rb "\t\tHi!\n" Am I missing something? James Edward Gray II