removed jruby specific hack, fixed failing tests on jruby
This commit is contained in:
parent
38a19e8d3e
commit
6e5910285c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue