# File lib/nanoc/cli/logger.rb, line 38 def color? if @color.nil? @color = true begin require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /mswin|mingw/ rescue LoadError @color = false end end @color end