# File lib/rspec/core/formatters/base_text_formatter.rb, line 199 def color(text, color_code) color_enabled? ? colorize(text, color_code) : text end