def strip(*strings)
      modified = strings.map { |string| string.dup.gsub(ANSI_COLOR_REGEXP, '') }
      modified.size == 1 ? modified[0] : modified
    end
def strip(*strings)
      modified = strings.map { |string| string.dup.gsub(ANSI_COLOR_REGEXP, '') }
      modified.size == 1 ? modified[0] : modified
    end
Strip ANSI color codes from a string.

 Only ANSI color codes are removed, not movement codes or
 other escapes sequences are stripped.

 @param [Array[String]] strings
   a string or array of strings to sanitize

 @example
   strip("foo\e[1mbar\e[0m")  # => "foobar"

 @return [String]

 @api public