mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

Add more `odeprecated` calls to places that have been deprecated for a while in the wild and move some of the existing `odeprecated` calls to be `odisabled` to allow deleting the compatibility code.
16 lines
241 B
Ruby
16 lines
241 B
Ruby
module Tty
|
|
module_function
|
|
|
|
def white
|
|
odisabled "Tty.white", "Tty.reset.bold"
|
|
end
|
|
end
|
|
|
|
def puts_columns(_)
|
|
odisabled "puts_columns", "puts Formatter.columns"
|
|
end
|
|
|
|
def plural(_, _)
|
|
odisabled "#plural", "Formatter.pluralize"
|
|
end
|