lib/byebug/context.rb in byebug-4.0.4 vs lib/byebug/context.rb in byebug-4.0.5

- old
+ new

@@ -27,9 +27,12 @@ # def ignored_file?(path) self.class.ignored_files.include?(path) end + # + # Context's stack size + # def stack_size return 0 unless backtrace backtrace.drop_while { |l| ignored_file?(l.first.path) } .take_while { |l| !ignored_file?(l.first.path) }