From 46caa09077c39cfc644c10b46061865ffc9516a1 Mon Sep 17 00:00:00 2001 From: Ryan Fitzgerald Date: Thu, 20 Dec 2012 23:10:17 -0800 Subject: [PATCH] Backtrace does not have a backtrace :musical_note: --- lib/pry/pry_class.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/pry_class.rb b/lib/pry/pry_class.rb index 7f473b8f..68f699a2 100644 --- a/lib/pry/pry_class.rb +++ b/lib/pry/pry_class.rb @@ -144,7 +144,7 @@ class Pry # if Pry was started via binding.pry, elide that from the backtrace. if options[:backtrace].first =~ /pry.*core_extensions.*pry/ - options[:backtrace].backtrace.shift + options[:backtrace].shift end end