Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/kovid/painter.rb
Instance Method Summary collapse
- #paint_green ⇒ Object
- #paint_highlight ⇒ Object
- #paint_red ⇒ Object
- #paint_white ⇒ Object
- #paint_yellow ⇒ Object
Instance Method Details
#paint_green ⇒ Object
13 14 15 |
# File 'lib/kovid/painter.rb', line 13 def paint_green Rainbow(self).green.bg(:black).bold end |
#paint_highlight ⇒ Object
21 22 23 |
# File 'lib/kovid/painter.rb', line 21 def paint_highlight Rainbow(self).underline end |
#paint_red ⇒ Object
9 10 11 |
# File 'lib/kovid/painter.rb', line 9 def paint_red Rainbow(self).red.bg(:black).bold end |
#paint_white ⇒ Object
5 6 7 |
# File 'lib/kovid/painter.rb', line 5 def paint_white Rainbow(self).white.bg(:black).bold end |
#paint_yellow ⇒ Object
17 18 19 |
# File 'lib/kovid/painter.rb', line 17 def paint_yellow Rainbow(self).yellow.bg(:black).bold end |