aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/irb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index c7563d186c..db1b98ef99 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -640,8 +640,8 @@ module IRB
lines = lines.map { |l| @context.workspace.filter_backtrace(l) }.compact
if lines.size > @context.back_trace_limit
omit = lines.size - @context.back_trace_limit
- lines[0..(@context.back_trace_limit - 1)]
- lines << '... %d levels...' % omit
+ lines = lines[0..(@context.back_trace_limit - 1)]
+ lines << "\t... %d levels..." % omit
end
end
lines = lines.reverse if order == :bottom