# File lib/ruote/log/pretty.rb, line 67 def color (mod, s, clear=false) return s if Ruote::WIN return s unless STDOUT.tty? "[#{mod}m#{s}[0m#{clear ? '' : "[#{@color}m"}" end