ruby-changes:64385
From: Nobuyoshi <ko1@a...>
Date: Sun, 20 Dec 2020 19:37:07 +0900 (JST)
Subject: [ruby-changes:64385] 8680ae9cbd (master): irb: Removed unused variables
https://git.ruby-lang.org/ruby.git/commit/?id=8680ae9cbd From 8680ae9cbd6e7e7e08f6d21fa8d35abdc82342da Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 20 Dec 2020 19:36:24 +0900 Subject: irb: Removed unused variables diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 55549d0..b2246df 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -224,7 +224,6 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L224 IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block| time = Time.now result = block.() - now = Time.now puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE] result } @@ -258,7 +257,6 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_cmd.rb#L257 IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block| time = Time.now result = block.() - now = Time.now puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE] result } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/