Method: CommandKit::Colors::ANSI.magenta
- Defined in:
- lib/command_kit/colors.rb
.magenta(string = nil) ⇒ String, MAGENTA
Sets the text color to magenta.
233 234 235 236 237 |
# File 'lib/command_kit/colors.rb', line 233 def magenta(string=nil) if string then "#{MAGENTA}#{string}#{RESET_COLOR}" else MAGENTA end end |