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