Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/kontena_cli.rb

Overview

Monkeypatching string to mimick ‘colorize’ gem

Instance Method Summary collapse

Instance Method Details

#colorize(color_sym) ⇒ Object



174
175
176
# File 'lib/kontena_cli.rb', line 174

def colorize(color_sym)
  ::Kontena.pastel.send(color_sym, self)
end