ruby-changes:34405
From: akr <ko1@a...>
Date: Sun, 22 Jun 2014 08:44:04 +0900 (JST)
Subject: [ruby-changes:34405] akr:r46486 (trunk): Remove trailing white spaces.
akr 2014-06-22 08:43:50 +0900 (Sun, 22 Jun 2014) New Revision: 46486 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46486 Log: Remove trailing white spaces. Modified files: trunk/bootstraptest/runner.rb Index: bootstraptest/runner.rb =================================================================== --- bootstraptest/runner.rb (revision 46485) +++ bootstraptest/runner.rb (revision 46486) @@ -405,7 +405,7 @@ end https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L405 INDENT = 27 def adjust_indent(src) - untabify(src).gsub(/^ {#{INDENT}}/o, '').gsub(/^/, ' ') + untabify(src).gsub(/^ {#{INDENT}}/o, '').gsub(/^/, ' ').sub(/\s*\z/, "\n") end def untabify(str) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/