summaryrefslogtreecommitdiff
path: root/lib/pry/input_completer.rb
diff options
context:
space:
mode:
authorAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-09-11 19:49:50 -0300
committerGitHub <noreply@github.com>2022-09-11 19:49:50 -0300
commite374c3a8086abe245c98834026a0617ffff9149c (patch)
tree3179f08e8830208eac307ecfdde10520dcb53c40 /lib/pry/input_completer.rb
parent43c2d3c79419dd79babb0f9c5f3920eb9cd4677f (diff)
parent6c2e2f54aee332b0cc72484d0fc1bb401605a428 (diff)
downloadpry-e374c3a8086abe245c98834026a0617ffff9149c.tar.gz
Merge pull request #2256 from dduugg/rubocop-todos
Complete rubocop todos
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))