module Rainbow
Constants
- VERSION
Public Class Methods
enabled()
click to toggle source
# File lib/rainbow/global.rb, line 9 def self.enabled global.enabled end
enabled=(value)
click to toggle source
# File lib/rainbow/global.rb, line 13 def self.enabled=(value) global.enabled = value end
global()
click to toggle source
# File lib/rainbow/global.rb, line 5 def self.global @global ||= Wrapper.new end
new()
click to toggle source
# File lib/rainbow.rb, line 5 def self.new Wrapper.new(global.enabled) end
uncolor(string)
click to toggle source
# File lib/rainbow/global.rb, line 17 def self.uncolor(string) StringUtils.uncolor(string) end