2017-05-29 18:43:18 +01:00

24 lines
426 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