mirror of
https://github.com/gosticks/brew.git
synced 2026-08-19 16:10:27 +00:00
It's been long enough that these have been commented out so let's enable them globally.
19 lines
324 B
Ruby
19 lines
324 B
Ruby
module Tty
|
|
module_function
|
|
|
|
def white
|
|
odeprecated "Tty.white", "Tty.reset.bold"
|
|
reset.bold
|
|
end
|
|
end
|
|
|
|
def puts_columns(items)
|
|
odeprecated "puts_columns", "puts Formatter.columns"
|
|
puts Formatter.columns(items)
|
|
end
|
|
|
|
def plural(n, s = "s")
|
|
odeprecated "#plural", "Formatter.pluralize"
|
|
(n == 1) ? "" : s
|
|
end
|