diff options
author | André Luis Leal Cardoso Junior <andrehjr@gmail.com> | 2022-03-09 19:27:12 -0300 |
---|---|---|
committer | André Luis Leal Cardoso Junior <andrehjr@gmail.com> | 2022-03-10 00:01:28 -0300 |
commit | b2f8820a5b1539c16ce0e6005f382a3abcfef76d (patch) | |
tree | e1e9f42aa8be9af598adaab84f9052e387ccb4e0 /lib | |
parent | e43dbb0962eb065e8e8be59fcacd1068bd62519e (diff) | |
download | pry-b2f8820a5b1539c16ce0e6005f382a3abcfef76d.tar.gz |
Support jruby >= 9.0.0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pry/wrapped_module.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/wrapped_module.rb b/lib/pry/wrapped_module.rb index c07ba682..c21b2a01 100644 --- a/lib/pry/wrapped_module.rb +++ b/lib/pry/wrapped_module.rb @@ -258,7 +258,7 @@ class Pry y.yield candidate(num) end end - Helpers::Platform.jruby_19? ? enum.to_a : enum + enum end # @return [Boolean] Whether YARD docs are available for this module. |