Skip to content

Instantly share code, notes, and snippets.

View paul-appsinyourpants's full-sized avatar

Paul Alexander paul-appsinyourpants

View GitHub Profile
@paul-appsinyourpants
paul-appsinyourpants / Console color in ruby
Created February 18, 2011 22:49
Add color to console logging easily in ruby
COLOR_ESCAPES = {
:none => 0,
:bright => 1,
:black => 30,
:red => 31,
:green => 32,
:yellow => 33,
:blue => 34,
:magenta => 35,
:cyan => 36,