module RakeCompilerDock::Colors
def colored(color, string)
def colored(color, string) if @colors_on c = ColorMap[color] || color "#{ESC}#{30+c}m#{string}#{NND}" else string.dup end end
def disable_colors
def disable_colors @colors_on = false end
def enable_colors
def enable_colors @colors_on = true end