1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove two removed constants

This commit is contained in:
aycabta 2019-11-28 08:26:10 +09:00
parent 2d0a1a1869
commit 7769975c3c

View file

@ -326,7 +326,7 @@ module IRB
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