1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Merge pull request #362 from envygeeks/patch-1

Make pry backtrace less confusing with error.backtrace.
This commit is contained in:
John Mair 2011-12-08 07:28:40 -08:00
commit db9667af8f

View file

@ -127,7 +127,7 @@ class Pry
target.pry
end
command "backtrace", "Show the backtrace for the Pry session" do
command "pry-backtrace", "Show the backtrace for the Pry session" do
output.puts "\n#{text.bold('Backtrace:')}\n--\n"
output.puts _pry_.backtrace
end