class String
Public Instance Methods
bg_black()
click to toggle source
# File lib/manycolors.rb, line 12 def bg_black; "\033[40m#{self}\033[0m" end
bg_blue()
click to toggle source
# File lib/manycolors.rb, line 16 def bg_blue; "\033[44m#{self}\033[0m" end
bg_brown()
click to toggle source
# File lib/manycolors.rb, line 15 def bg_brown; "\033[43m#{self}\033[0m" end
bg_cyan()
click to toggle source
# File lib/manycolors.rb, line 18 def bg_cyan; "\033[46m#{self}\033[0m" end
bg_gray()
click to toggle source
# File lib/manycolors.rb, line 19 def bg_gray; "\033[47m#{self}\033[0m" end
bg_green()
click to toggle source
# File lib/manycolors.rb, line 14 def bg_green; "\033[42m#{self}\033[0m" end
bg_grey()
click to toggle source
# File lib/manycolors.rb, line 20 def bg_grey; "\033[47m#{self}\033[0m" end
bg_light_blue()
click to toggle source
# File lib/manycolors.rb, line 43 def bg_light_blue; "\033[104m#{self}\033[0m" end
bg_light_cyan()
click to toggle source
# File lib/manycolors.rb, line 45 def bg_light_cyan; "\033[106m#{self}\033[0m" end
bg_light_dark_gray()
click to toggle source
# File lib/manycolors.rb, line 39 def bg_light_dark_gray; "\033[100m#{self}\033[0m" end
bg_light_dark_grey()
click to toggle source
# File lib/manycolors.rb, line 38 def bg_light_dark_grey; "\033[100m#{self}\033[0m" end
bg_light_green()
click to toggle source
# File lib/manycolors.rb, line 41 def bg_light_green; "\033[102m#{self}\033[0m" end
bg_light_magenta()
click to toggle source
# File lib/manycolors.rb, line 44 def bg_light_magenta; "\033[105m#{self}\033[0m" end
bg_light_red()
click to toggle source
# File lib/manycolors.rb, line 40 def bg_light_red; "\033[101m#{self}\033[0m" end
bg_light_yellow()
click to toggle source
# File lib/manycolors.rb, line 42 def bg_light_yellow; "\033[103m#{self}\033[0m" end
bg_magenta()
click to toggle source
# File lib/manycolors.rb, line 17 def bg_magenta; "\033[45m#{self}\033[0m" end
bg_red()
click to toggle source
# File lib/manycolors.rb, line 13 def bg_red; "\033[41m#{self}\033[0m" end
bg_white()
click to toggle source
# File lib/manycolors.rb, line 21 def bg_white; "\033[7m#{self}\033[0m" end
black()
click to toggle source
# File lib/manycolors.rb, line 3 def black; "\033[30m#{self}\033[0m" end
blue()
click to toggle source
# File lib/manycolors.rb, line 7 def blue; "\033[34m#{self}\033[0m" end
bold()
click to toggle source
# File lib/manycolors.rb, line 22 def bold; "\033[1m#{self}\033[22m" end
brown()
click to toggle source
# File lib/manycolors.rb, line 6 def brown; "\033[33m#{self}\033[0m" end
cyan()
click to toggle source
# File lib/manycolors.rb, line 9 def cyan; "\033[36m#{self}\033[0m" end
gray()
click to toggle source
# File lib/manycolors.rb, line 10 def gray; "\033[37m#{self}\033[0m" end
green()
click to toggle source
# File lib/manycolors.rb, line 5 def green; "\033[32m#{self}\033[0m" end
grey()
click to toggle source
# File lib/manycolors.rb, line 11 def grey; "\033[37m#{self}\033[0m" end
invisible()
click to toggle source
# File lib/manycolors.rb, line 26 def invisible; "\033[8m#{self}\033[0m" end
italic()
click to toggle source
# File lib/manycolors.rb, line 24 def italic; "\033[3m#{self}\033[0m" end
light_blue()
click to toggle source
# File lib/manycolors.rb, line 34 def light_blue; "\033[94m#{self}\033[0m" end
light_cyan()
click to toggle source
# File lib/manycolors.rb, line 36 def light_cyan; "\033[96m#{self}\033[0m" end
light_dark_gray()
click to toggle source
# File lib/manycolors.rb, line 30 def light_dark_gray; "\033[90m#{self}\033[0m" end
light_dark_grey()
click to toggle source
# File lib/manycolors.rb, line 29 def light_dark_grey; "\033[90m#{self}\033[0m" end
light_green()
click to toggle source
# File lib/manycolors.rb, line 32 def light_green; "\033[92m#{self}\033[0m" end
light_magenta()
click to toggle source
# File lib/manycolors.rb, line 35 def light_magenta; "\033[95m#{self}\033[0m" end
light_red()
click to toggle source
# File lib/manycolors.rb, line 31 def light_red; "\033[91m#{self}\033[0m" end
light_yellow()
click to toggle source
# File lib/manycolors.rb, line 33 def light_yellow; "\033[93m#{self}\033[0m" end
magenta()
click to toggle source
# File lib/manycolors.rb, line 8 def magenta; "\033[35m#{self}\033[0m" end
red()
click to toggle source
# File lib/manycolors.rb, line 4 def red; "\033[31m#{self}\033[0m" end
reverse_color()
click to toggle source
# File lib/manycolors.rb, line 23 def reverse_color; "\033[7m#{self}\033[27m" end
something()
click to toggle source
# File lib/manycolors.rb, line 28 def something; "\033[49m#{self}\033[0m" end
strike()
click to toggle source
# File lib/manycolors.rb, line 27 def strike; "\033[9m#{self}\033[0m" end
underline()
click to toggle source
# File lib/manycolors.rb, line 25 def underline; "\033[4m#{self}\033[0m" end
white()
click to toggle source
# File lib/manycolors.rb, line 37 def white; "\033[97m#{self}\033[0m" end