diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-26 01:57:58 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-26 01:57:58 +0000 |
commit | 966e020add771af89bf2a19622985cbe5ced76f9 (patch) | |
tree | 9be081fbba7a5eb4126b3a5733a6361bb45bb393 | |
parent | 7a35ffeccdcabd5f0aa55b2f7c693197816b51a2 (diff) | |
download | ruby-966e020add771af89bf2a19622985cbe5ced76f9.tar.gz |
* 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/trunk@53943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/irb.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Feb 26 10:52:29 2016 Alex Boyd <alex@opengroove.org> + + * lib/irb.rb: avoid to needless truncation when using back_trace_limit option. + [fix GH-1205][ruby-core:72773][Bug #11969] + Fri Feb 26 08:11:58 2016 Aaron Patterson <tenderlove@ruby-lang.org> * gem_prelude.rb: Reduce system calls by activating the `did_you_mean` diff --git a/lib/irb.rb b/lib/irb.rb index 45f328008c..92b79b3301 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -525,7 +525,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 |