From d5682eb9396c7813f50a1400f7e801d0058c6c6e Mon Sep 17 00:00:00 2001 From: aycabta Date: Tue, 28 May 2019 03:25:31 +0900 Subject: Remove unused variable from IRB::InputCompletor --- lib/irb/completion.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/irb/completion.rb') diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 5b36af23e4..a954b4e903 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -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 } -- cgit v1.2.3