aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-10-23 16:05:32 +0100
committerMax Howell2009-10-23 19:22:51 +0100
commite1995d60efa90f05fa3292d758e47ac20f33d9e7 (patch)
treee07f69213ee2ffa9d374f0c42d6f9663d85d357b /Library
parentac277f5c228a45ea9aa185f6303713515b4e3c13 (diff)
downloadbrew-e1995d60efa90f05fa3292d758e47ac20f33d9e7.tar.bz2
Call to_s on ohai parameters
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index d6f1e401f..e9a480ed2 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -47,7 +47,7 @@ end
# args are additional inputs to puts until a nil arg is encountered
def ohai title, *sput
- title = title[0, `/usr/bin/tput cols`.strip.to_i-4] unless ARGV.verbose?
+ title = title.to_s[0, `/usr/bin/tput cols`.strip.to_i-4] unless ARGV.verbose?
puts "#{Tty.blue}==>#{Tty.white} #{title}#{Tty.reset}"
puts *sput unless sput.empty?
end