method

colorize

rails latest stable - Class: ActiveSupport::ContinuousIntegration

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

colorize(text, type)
private

No documentation available.

# File activesupport/lib/active_support/continuous_integration.rb, line 141
      def colorize(text, type)
        "#{COLORS.fetch(type)}#{text}\0033[0m"
      end