ruby-changes:58930
From: aycabta <ko1@a...>
Date: Thu, 28 Nov 2019 09:34:48 +0900 (JST)
Subject: [ruby-changes:58930] 7769975c3c (master): Remove two removed constants
https://git.ruby-lang.org/ruby.git/commit/?id=7769975c3c From 7769975c3ccf1f08c15f4c6de8451783683e281d Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 28 Nov 2019 08:26:10 +0900 Subject: Remove two removed constants diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 04f5c44..232929e 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -326,7 +326,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/completion.rb#L326 end end - %i(IRB SLex RubyLex RubyToken).each do |sym| + %i(IRB RubyLex).each do |sym| next unless Object.const_defined?(sym) scanner.call(Object.const_get(sym)) end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/