Flowdock
method

color_output

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: TestUnitReporter
color_output(string, by:) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/test_unit/reporter.rb, line 103
      def color_output(string, by))
        if colored_output?
          "\e[#{COLOR_BY_RESULT_CODE[by.result_code]}m#{string}\e[0m"
        else
          string
        end
      end
Register or log in to add new notes.