class HumanistErrors::Color
Constants
- COLORS
- POSTFIX
- PREFIX
Public Instance Methods
colorize_with(color, text)
click to toggle source
# File lib/humanist_errors/color.rb, line 16 def colorize_with(color, text) "#{PREFIX}#{COLORS[color]}#{text}#{POSTFIX}" end