class Unparser::Color
Class to colorize strings
def format(text)
-
(String)
-
Parameters:
-
text
(String
) --
def format(text) "\e[#{code}m#{text}\e[0m" end
Class to colorize strings
(String)
-
text
(String
)
--
def format(text) "\e[#{code}m#{text}\e[0m" end