module Minitest::Reporters::ANSI::Code

def self.color?

def self.color?
  return false if ENV['MINITEST_REPORTERS_MONO']
  color_terminal = ENV['TERM'].to_s.downcase.include?("color")
  $stdout.tty? || color_terminal
end

def black(s = nil)

def black(s = nil)
  block_given? ? yield : s
end