module Colors

Constants

COLORS

Public Instance Methods

colored(color, str) click to toggle source
# File lib/colors.rb, line 11
def colored(color, str)
  return str if color == :none
  [COLORS[color], str, COLORS[:reset]].join
end