From 8680ae9cbd6e7e7e08f6d21fa8d35abdc82342da Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 20 Dec 2020 19:36:24 +0900 Subject: irb: Removed unused variables --- test/irb/test_cmd.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/irb/test_cmd.rb') diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 55549d0d10..b2246dfff5 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -224,7 +224,6 @@ module TestIRB 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 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 v1.2.3