code: public static List<String> readLines(CharSequence self) throws IOException {
          return IOGroovyMethods.readLines(new StringReader(self.toString()));
      }
docs: Return the lines of a CharSequence as a List of String.
  
  @param self a CharSequence object
  @return a list of lines
  @throws java.io.IOException if an error occurs
  @since 1.8.2