From 1ae1164eb0587c8f4ad1ab44bc1467c689c53b6c Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 6 Nov 2014 14:54:39 +0000 Subject: [PATCH] generic_erb.rb: explicit_trim_line * tool/generic_erb.rb: enable explicit_trim_line mode git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/generic_erb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/generic_erb.rb b/tool/generic_erb.rb index 8e5e44fe6a..9e07f2f2e1 100644 --- a/tool/generic_erb.rb +++ b/tool/generic_erb.rb @@ -20,7 +20,7 @@ opt = OptionParser.new do |o| o.order!(ARGV) end template = ARGV.shift or abort opt.to_s -erb = ERB.new(File.read(template), nil, '%') +erb = ERB.new(File.read(template), nil, '%-') erb.filename = template result = source ? erb.src : erb.result if output