Class: ByebugColorPrinter::Colorizer

Inherits:
Object
  • Object
show all
Defined in:
lib/byebug-color-printer/colorizer.rb

Constant Summary collapse

CLEAR =
"\e[0m"
GREEN =
"\e[32m"
WHITE =
"\e[37m"

Instance Method Summary collapse

Instance Method Details

#colorize(args) {|args| ... } ⇒ Object

Yields:

  • (args)


7
8
9
# File 'lib/byebug-color-printer/colorizer.rb', line 7

def colorize(args, &block)
  yield args
end