ruby-changes:49198
From: nobu <ko1@a...>
Date: Mon, 18 Dec 2017 13:23:22 +0900 (JST)
Subject: [ruby-changes:49198] nobu:r61316 (trunk): envutil.rb: define flush method
nobu 2017-12-18 13:23:16 +0900 (Mon, 18 Dec 2017) New Revision: 61316 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61316 Log: envutil.rb: define flush method * test/lib/envutil.rb (verbose_warning): flush is called on STDOUT and STDERR sometimes. From: Nobuyoshi Nakada <nobu@r...> Modified files: trunk/test/lib/envutil.rb Index: test/lib/envutil.rb =================================================================== --- test/lib/envutil.rb (revision 61315) +++ test/lib/envutil.rb (revision 61316) @@ -174,6 +174,7 @@ module EnvUtil https://github.com/ruby/ruby/blob/trunk/test/lib/envutil.rb#L174 def verbose_warning class << (stderr = "".dup) alias write concat + def flush; end end stderr, $stderr = $stderr, stderr $VERBOSE = true -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/