summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-25 08:22:04 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-25 08:22:04 +0000
commit26154da303cda2658cb6351e0a360d772ffd70d7 (patch)
tree8ee7ed2ac770666eaaa66474cdff3f2098bb275d /lib
parent32089305127f6bd26bd684c75818df4fcd9c0f9d (diff)
merge revision(s) 53943: [Backport #11969]
* lib/irb.rb: avoid to needless truncation when using back_trace_limit option. [fix GH-1205][ruby-core:72773][Bug #11969] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/irb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 20390d2205..a5962145f3 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -526,7 +526,7 @@ module IRB
print messages.join("\n"), "\n"
unless lasts.empty?
printf "... %d levels...\n", levels if levels > 0
- print lasts.join("\n")
+ print lasts.join("\n"), "\n"
end
print "Maybe IRB bug!\n" if irb_bug
end