module Discotech
Constants
- VERSION
Public Class Methods
black(string)
click to toggle source
# File lib/discotech.rb, line 13 def self.black string "\e[30m" + string + "\e[39m" end
blink(string)
click to toggle source
# File lib/discotech.rb, line 5 def self.blink string "\e[5m" + string + "\e[25m" end
blue(string)
click to toggle source
# File lib/discotech.rb, line 29 def self.blue string "\e[34m" + string + "\e[39m" end
bold(string)
click to toggle source
# File lib/discotech.rb, line 9 def self.bold string "\e[1m" + string + "\e[22m" end
cyan(string)
click to toggle source
# File lib/discotech.rb, line 37 def self.cyan string "\e[36m" + string + "\e[39m" end
green(string)
click to toggle source
# File lib/discotech.rb, line 21 def self.green string "\e[32m" + string + "\e[39m" end
magenta(string)
click to toggle source
# File lib/discotech.rb, line 33 def self.magenta string "\e[35m" + string + "\e[39m" end
red(string)
click to toggle source
# File lib/discotech.rb, line 17 def self.red string "\e[31m" + string + "\e[39m" end
white(string)
click to toggle source
# File lib/discotech.rb, line 41 def self.white string "\e[37m" + string + "\e[39m" end
yellow(string)
click to toggle source
# File lib/discotech.rb, line 25 def self.yellow string "\e[33m" + string + "\e[39m" end