module Minitest

Public Class Methods

plugin_colors_init(options) click to toggle source
# File lib/minitest-colors.rb, line 9
def self.plugin_colors_init(options)
  io = ColorfulReport.new options[:io]

  self.reporter.reporters.grep(Minitest::Reporter).each do |rep|
    rep.io = io
  end
end