now passing capture args in a 1.8 friendly way: *(c + a) instead of (*c, *a)
This commit is contained in:
parent
40295ac979
commit
87ccf1d20a
|
@ -144,7 +144,7 @@ class Pry
|
|||
:captures => captures
|
||||
}
|
||||
|
||||
execute_command(target, command.name, options, *captures, *args)
|
||||
execute_command(target, command.name, options, *(captures + args))
|
||||
end
|
||||
|
||||
# Execute a Pry command.
|
||||
|
|
Loading…
Reference in New Issue