Method: Autumn::Formatting::Mirc#uncolor
- Defined in:
- lib/autumn/formatting.rb
#uncolor(options = {}) ⇒ Object
Removes coloring from all following text. Options:
suppress_space
-
By default, this method places a space after the uncolor token to prevent “color bleed.” If you would like to suppress this behavior, set this to true.
128 129 130 |
# File 'lib/autumn/formatting.rb', line 128 def uncolor(={}) [:suppress_space] ? UNCOLOR_NO_SPACE : UNCOLOR end |