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

Remove unused variable from IRB::InputCompletor

This commit is contained in:
aycabta 2019-05-28 03:25:31 +09:00
parent 5e275dd2af
commit d5682eb939

View file

@ -192,7 +192,6 @@ module IRB
when /^(\$[^.]*)$/
# global var
gvar = $1
regmessage =
all_gvars = global_variables.collect{|m| m.to_s}
if doc_namespace
all_gvars.find{ |i| i == gvar }