class Painter
Public Class Methods
attention(text)
click to toggle source
# File lib/painter.rb, line 13 def attention text print "\033[33m#{text}\033[0m" end
correct(text)
click to toggle source
# File lib/painter.rb, line 5 def correct text print "\033[32m#{text}\033[0m" end
error(text)
click to toggle source
# File lib/painter.rb, line 9 def error text print "\033[31m#{text}\033[0m" end