# File lib/travis/tools/safe_string.rb, line 17 def clean(string) colorized(string).gsub(/\e[^m]+m/, '') end