19 lines
324 B
Ruby
Raw Normal View History

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
2017-03-11 11:31:44 +01:00
def plural(n, s = "s")
odeprecated "#plural", "Formatter.pluralize"
2017-05-29 18:24:52 +01:00
(n == 1) ? "" : s
2017-03-11 11:31:44 +01:00
end