[前][次][番号順一覧][スレッド一覧]

ruby-changes:34393

From: akr <ko1@a...>
Date: Fri, 20 Jun 2014 12:12:48 +0900 (JST)
Subject: [ruby-changes:34393] akr:r46474 (trunk): Don't erase for verbose mode.

akr	2014-06-20 12:12:44 +0900 (Fri, 20 Jun 2014)

  New Revision: 46474

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46474

  Log:
    Don't erase for verbose mode.

  Modified files:
    trunk/bootstraptest/runner.rb
Index: bootstraptest/runner.rb
===================================================================
--- bootstraptest/runner.rb	(revision 46473)
+++ bootstraptest/runner.rb	(revision 46474)
@@ -163,7 +163,7 @@ End https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L163
 end
 
 def erase(e = true)
-  if e and @columns > 0
+  if e and @columns > 0 and !@verbose
     "\r#{" "*@columns}\r"
   else
     ""

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]