aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-12-06 09:14:20 +0000
committerMike McQuaid2014-12-06 09:14:20 +0000
commit645e82df8352e7a902902fafa494c7c300bcc8fd (patch)
tree979186dc27e10db439b1fce305b2080c312e9efd /Library/Homebrew/utils.rb
parent566d6b3a462c740913852d889f39d6f6824d8c88 (diff)
downloadbrew-645e82df8352e7a902902fafa494c7c300bcc8fd.tar.bz2
Remove {start,stop}doc as we're using Yard now.
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 01492aa42..cafee2025 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -42,8 +42,6 @@ class Tty
end
end
-# :startdoc:
-
def ohai title, *sput
title = Tty.truncate(title) if $stdout.tty? && !ARGV.verbose?
puts "#{Tty.blue}==>#{Tty.white} #{title}#{Tty.reset}"
@@ -73,8 +71,6 @@ def odie error
exit 1
end
-# :stopdoc:
-
def pretty_duration s
return "2 seconds" if s < 3 # avoids the plural problem ;)
return "#{s.to_i} seconds" if s < 120