diff options
author | Douglas Eichelberger <dduugg@gmail.com> | 2022-09-11 15:15:36 -0700 |
---|---|---|
committer | Douglas Eichelberger <dduugg@gmail.com> | 2022-09-11 15:15:36 -0700 |
commit | 0e06fc6ab27a88f7c451fc7de9645f7cab050ad9 (patch) | |
tree | 4e59e32730d576be28aecbc7e6c5be0803e40476 /lib/pry/input_completer.rb | |
parent | 43c2d3c79419dd79babb0f9c5f3920eb9cd4677f (diff) | |
download | pry-0e06fc6ab27a88f7c451fc7de9645f7cab050ad9.tar.gz |
Complete Style/SymbolArray todo
Diffstat (limited to 'lib/pry/input_completer.rb')
-rw-r--r-- | lib/pry/input_completer.rb | 2 |
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)) |