Sha256: f4f8066f4f0dbc15081dea15c2048115b998d46537ecf6ae222ba1c5a302d128
Contents?: true
Size: 267 Bytes
Versions: 97
Compression:
Stored size: 267 Bytes
Contents
require_relative 'rainbow/global' module Rainbow def self.new Wrapper.new(global.enabled) end self.enabled = false unless STDOUT.tty? && STDERR.tty? self.enabled = false if ENV['TERM'] == 'dumb' self.enabled = true if ENV['CLICOLOR_FORCE'] == '1' end
Version data entries
97 entries across 90 versions & 19 rubygems