Method: Protest::Utils::ColorfulOutput.colors

Defined in:
lib/protest/utils/colorful_output.rb

.colorsObject

Returns a hash with the color values for different states. Override this method safely to change the output colors. The defaults are:

:passed

Light green

:pending

Light yellow

:errored

Light purple

:failed

Light red

See www.hypexr.org/bash_tutorial.php#colors for a description of Bash color codes.



18
19
20
21
22
23
# File 'lib/protest/utils/colorful_output.rb', line 18

def self.colors
  { :passed => "1;32",
    :pending => "1;33",
    :errored => "1;35",
    :failed => "1;31" }
end