Method: RSpec::Core::Configuration#color_mode
- Defined in:
- lib/rspec/core/configuration.rb
#color_mode ⇒ Boolean
The mode for determining whether to display output in color. One of:
- :automatic - the output will be in color if the output is a TTY (the default)
- :on - the output will be in color, whether or not the output is a TTY
- :off - the output will not be in color
935 936 937 |
# File 'lib/rspec/core/configuration.rb', line 935 def color_mode value_for(:color_mode) { @color_mode } end |