class String
Public Instance Methods
black()
click to toggle source
# File lib/ruby-unfollow/color.rb, line 2 def black; "\033[30m#{self}\033[0m" end
blue()
click to toggle source
# File lib/ruby-unfollow/color.rb, line 6 def blue; "\033[34m#{self}\033[0m" end
bold()
click to toggle source
# File lib/ruby-unfollow/color.rb, line 7 def bold; "\033[1m#{self}\033[22m" end
brown()
click to toggle source
# File lib/ruby-unfollow/color.rb, line 5 def brown; "\033[33m#{self}\033[0m" end
green()
click to toggle source
# File lib/ruby-unfollow/color.rb, line 4 def green; "\033[32m#{self}\033[0m" end
red()
click to toggle source
# File lib/ruby-unfollow/color.rb, line 3 def red; "\033[31m#{self}\033[0m" end