ruby-changes:58916
From: aycabta <ko1@a...>
Date: Tue, 26 Nov 2019 19:23:56 +0900 (JST)
Subject: [ruby-changes:58916] 8b20829396 (master): Remove an unnecessary variable
https://git.ruby-lang.org/ruby.git/commit/?id=8b20829396 From 8b208293963cafa1469947a9957b59ce68895af1 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Tue, 26 Nov 2019 19:07:29 +0900 Subject: Remove an unnecessary variable diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index 6f06488..caa51c8 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -118,8 +118,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/input-method.rb#L118 # See IO#gets for more information. def gets print @prompt - l = @io.gets - l + @io.gets end # The external encoding for standard input. -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/