Module: Highlight
- Included in:
- FileHeader, Glark::Format, RegexpExpression
- Defined in:
- lib/glark/util/highlight.rb
Constant Summary collapse
- RESET =
"\x1b[0m"
Instance Method Summary collapse
Instance Method Details
#adorn(hl, str) ⇒ Object
11 12 13 |
# File 'lib/glark/util/highlight.rb', line 11 def adorn hl, str hl + str + RESET end |