class HighLine::Style

def color(string)

Returns:
  • (String) - an ANSI colored string

Parameters:
  • string (String) -- to be colored
def color(string)
  code + string + HighLine::CLEAR
end