diff options
author | aycabta <aycabta@gmail.com> | 2019-11-28 08:26:10 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-11-28 08:26:10 +0900 |
commit | 7769975c3ccf1f08c15f4c6de8451783683e281d (patch) | |
tree | 3e7403de45ad835fcdf62497cda89d1960ff9d58 /lib/irb | |
parent | 2d0a1a1869e601dc0d50a86a89fe98edcbd24f09 (diff) | |
download | ruby-7769975c3ccf1f08c15f4c6de8451783683e281d.tar.gz |
Remove two removed constants
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/completion.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 04f5c447c9..232929efe7 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -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 |