summaryrefslogtreecommitdiff
path: root/lib/pry/input_completer.rb
diff options
context:
space:
mode:
authorDouglas Eichelberger <dduugg@gmail.com>2022-09-11 15:15:36 -0700
committerDouglas Eichelberger <dduugg@gmail.com>2022-09-11 15:15:36 -0700
commit0e06fc6ab27a88f7c451fc7de9645f7cab050ad9 (patch)
tree4e59e32730d576be28aecbc7e6c5be0803e40476 /lib/pry/input_completer.rb
parent43c2d3c79419dd79babb0f9c5f3920eb9cd4677f (diff)
downloadpry-0e06fc6ab27a88f7c451fc7de9645f7cab050ad9.tar.gz
Complete Style/SymbolArray todo
Diffstat (limited to 'lib/pry/input_completer.rb')
-rw-r--r--lib/pry/input_completer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/input_completer.rb b/lib/pry/input_completer.rb
index 9566b32d..3059d4b6 100644
--- a/lib/pry/input_completer.rb
+++ b/lib/pry/input_completer.rb
@@ -270,7 +270,7 @@ class Pry
end
# FIXME: Add Pry here as well?
- [:IRB, :SLex, :RubyLex, :RubyToken].each do |module_name|
+ %i[IRB SLex RubyLex RubyToken].each do |module_name|
next unless Object.const_defined?(module_name)
scanner.call(Object.const_get(module_name))