module Rainbow

Constants

VERSION

Public Class Methods

enabled() click to toggle source
# File lib/rainbow/global.rb, line 8
def self.enabled
  global.enabled
end
enabled=(value) click to toggle source
# File lib/rainbow/global.rb, line 12
def self.enabled=(value)
  global.enabled = value
end
global() click to toggle source
# File lib/rainbow/global.rb, line 4
def self.global
  @global ||= Wrapper.new
end
new() click to toggle source
# File lib/rainbow.rb, line 4
def self.new
  Wrapper.new(global.enabled)
end
uncolor(string) click to toggle source
# File lib/rainbow/global.rb, line 16
def self.uncolor(string)
  StringUtils.uncolor(string)
end