Sha256: 2bae92c3dbf6b75bcf364f0b5aaa3d8ceaf20b93cbd7c5f99170cf2bd8935f52

Contents?: true

Size: 713 Bytes

Versions: 1

Compression:

Stored size: 713 Bytes

Contents

# frozen_string_literal: true

module SimpleCov
  module SingleFile
    class Config
      COLOR_RED = "\e[31m%<message>s\e[0m"
      COLOR_GREEN = "\e[32m%<message>s\e[0m"
      COLOR_ORANGE = "\e[33m%<message>s\e[0m"

      attr_accessor :output_colorized,
                    :output_style,
                    :output_green_threshold,
                    :output_orange_threshold,
                    :output_red_color,
                    :output_green_color,
                    :output_orange_color

      def initialize
        @output_colorized = true
        @output_red_color = COLOR_RED
        @output_green_color = COLOR_GREEN
        @output_orange_color = COLOR_ORANGE
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simplecov-single_file-0.1.0 lib/simplecov/single_file/config.rb