Skip to content
Browse files

Don't word wrap status messages

Part of feature request #4.
  • Loading branch information...
1 parent 5920852 commit 47c69e9f1fd6b0125aa91562d74a3c423d689472 @matheusmoreira committed Jul 26, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/acclaim/io.rb
View
8 lib/acclaim/io.rb
@@ -178,7 +178,7 @@ def information(string, *format)
alias info information
# Prints the status followed by the details. The details will not be
- # formatted.
+ # formatted or word wrapped.
#
# @param [#to_s] symbol the symbolic status name
# @param [#to_s] details the details
@@ -188,9 +188,9 @@ def information(string, *format)
def status(symbol, details, *format)
format.push *self.class.default_formats.status if format.empty?
error_stream.tap do |stream|
- write_to stream, symbol.to_s.strip, format: format, method: :print
- write_to stream, ' ', method: :print, indent: false
- write_to stream, details, indent: false
+ write_to stream, symbol.to_s.strip, format: format, word_wrap: false, method: :print
+ write_to stream, ' ', method: :print, indent: false, word_wrap: false
+ write_to stream, details, indent: false, word_wrap: false
end
end

0 comments on commit 47c69e9

Please sign in to comment.
Something went wrong with that request. Please try again.