Permalink
Browse files

Shorten printing of backtrace to 5 lines.

  • Loading branch information...
1 parent 3d91851 commit 7e4dc9b25860c6bdc72604ce320cf89d8175f881 @postmodern committed Jun 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/warnings/warning.rb
View
@@ -133,7 +133,7 @@ def to_s
#
def print
trace = unless $DEBUG
- @backtrace[0,10]
+ @backtrace[0,5]
else
@backtrace
end

0 comments on commit 7e4dc9b

Please sign in to comment.