diff --git a/lib/pry/command_set.rb b/lib/pry/command_set.rb index 0422f283..e44c6889 100644 --- a/lib/pry/command_set.rb +++ b/lib/pry/command_set.rb @@ -39,12 +39,7 @@ class Pry when arity == 0 [] when arity > 0 - # another jruby hack - if Pry::Helpers::BaseHelpers.jruby? - args[0..(arity - 1)] - else - args.values_at *(0..(arity - 1)).to_a - end + args.values_at *(0..(arity - 1)).to_a end end end