class String

Add color options

Public Instance Methods

error() click to toggle source
# File lib/renegade/status.rb, line 19
def error
  "\e[31m  × #{self}\e[0m"
end
highlight() click to toggle source
# File lib/renegade/status.rb, line 3
def highlight
  "\e[36m#{self}\e[0m"
end
status() click to toggle source
# File lib/renegade/status.rb, line 7
def status
  "\e[35m#{self}\e[0m"
end
success() click to toggle source
# File lib/renegade/status.rb, line 11
def success
  "\e[32m  √ #{self}\e[0m"
end
warning() click to toggle source
# File lib/renegade/status.rb, line 15
def warning
  "\e[33m  × #{self}\e[0m"
end