Psychedelic is an amazing syntax colorizer library that automatically colorize any output in your console. It supports Ruby, Python, Perl, C++, Brainfuck... and any language you know magically.
Oh sorry, It cannot colorize whitespace now.What are you waiting? Use it in your project TODAY! RIGHT NOW!
gem install psychedelic
gem 'psychedelic'You can do this in irb and other Ruby programs:
require 'rubygems' gem 'psychedelic' require 'psychedelic'