'Write ``table`` as list of strings.
Parameters
table : `~astropy.table.Table`
Input table data.
Returns
lines : list
List of strings corresponding to ASCII table'

def write(self, table):

    self.header.cols = list(six.itervalues(table.columns))
    self.header.check_column_names(self.names, self.strict_names, False)
    _apply_include_exclude_names(table, self.names, self.include_names, self.exclude_names)
    table = self.update_table_data(table)
    new_cols = list(six.itervalues(table.columns))
    self.header.cols = new_cols
    self.data.cols = new_cols
    self.header.table_meta = table.meta
    lines = []
    self.write_header(lines, table.meta)
    self.data.write(lines)
    return lines
