From: Henry Liu Date: Sun, 22 Jan 2012 08:17:45 +0000 (-0800) Subject: Fixed color support in OS X X-Git-Url: https://git.eng.unimelb.edu.au/public?p=ruby_koans.git;a=commitdiff_plain;h=907c1fc0bedce26fb5a27b1a802b26c2e96d2231 Fixed color support in OS X --- diff --git a/src/edgecase.rb b/src/edgecase.rb index 1443807..40c9607 100644 --- a/src/edgecase.rb +++ b/src/edgecase.rb @@ -122,6 +122,8 @@ module EdgeCase if ENV['ANSI_COLOR'].nil? if using_windows? using_win32console + else + return true end else ENV['ANSI_COLOR'] =~ /^(t|y)/i