mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Skip modules that mess with Class#hash
Like Argon2::Password in argon2 < v1.1.1.
This commit is contained in:
parent
26e330f382
commit
353a42b706
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class Pry::InputCompleter
|
|||
candidates = []
|
||||
to_ignore = ignored_modules
|
||||
ObjectSpace.each_object(Module){|m|
|
||||
next if to_ignore.include?(m)
|
||||
next if to_ignore.include?(m) rescue true
|
||||
|
||||
# jruby doesn't always provide #instance_methods() on each
|
||||
# object.
|
||||
|
|
Loading…
Add table
Reference in a new issue