Sha256: 27bfa9e0ea220f70bfe3b5b13eb52ebd3531f6cb26b27f7e88652933a05b3350
Contents?: true
Size: 362 Bytes
Versions: 6802
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true require_relative 'wrapper' module Rainbow def self.global @global ||= Wrapper.new end def self.enabled global.enabled end def self.enabled=(value) global.enabled = value end def self.uncolor(string) StringUtils.uncolor(string) end end def Rainbow(string) Rainbow.global.wrap(string.to_s) end
Version data entries
6,802 entries across 6,802 versions & 35 rubygems