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
commit5dd160d3ce91da4b8b5568f4e93f4bb4e5422cde (patch)
treeb6794de0ad3026c5416c4800a10187e1a7773e88 /Library/Homebrew/utils.rb
parent33afb712042fbe454cddf3828c69901ddd57e6f9 (diff)
downloadhomebrew-5dd160d3ce91da4b8b5568f4e93f4bb4e5422cde.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