defunkt/colored — pull request #8 by kpcyrd (2014-06-30 17:54:45+00:00)
Title: TTY detection

I rewrote @egonSchiele's tty fix. Thanks for the original pull request in #4!

I added an `enforced_colors` option to bypass the tty check during tests.

I dislike my is_tty method, somebody with better ruby skills is welcome to rewrite it.