# File lib/nanoc/cli.rb, line 186 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