module Super::Color
Constants
- VERSION
Public Instance Methods
green()
click to toggle source
# File lib/super/color.rb, line 12 def green "\e[92m#{self}\e[0m" end
Also aliased as: color_success
magenta()
click to toggle source
# File lib/super/color.rb, line 20 def magenta "\e[35m#{self}\e[0m" end
puts_error()
click to toggle source
# File lib/super/color.rb, line 36 def puts_error puts red end
puts_success()
click to toggle source
# File lib/super/color.rb, line 32 def puts_success puts green end
puts_warning()
click to toggle source
# File lib/super/color.rb, line 28 def puts_warning puts yellow end
red()
click to toggle source
# File lib/super/color.rb, line 8 def red "\e[31m#{self}\e[0m" end
Also aliased as: color_error
yellow()
click to toggle source
# File lib/super/color.rb, line 16 def yellow "\e[93m#{self}\e[0m" end
Also aliased as: color_warning