# File lib/nanoc/cli.rb, line 191 def self.enable_ansi_colors?(io) return false if !io.tty? begin require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /mswin|mingw/ rescue LoadError return false end return true end