now passing capture args in a 1.8 friendly way: *(c + a) instead of (*c, *a)

This commit is contained in:
John Mair 2011-05-28 04:22:07 +12:00
parent 40295ac979
commit 87ccf1d20a
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class Pry
:captures => captures :captures => captures
} }
execute_command(target, command.name, options, *captures, *args) execute_command(target, command.name, options, *(captures + args))
end end
# Execute a Pry command. # Execute a Pry command.