Mike McQuaid ba3c46d24f More deprecations.
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00

24 lines
424 B
Ruby

def shell_profile
# odeprecated "shell_profile", "Utils::Shell.profile"
Utils::Shell.profile
end
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