code: def Write(self, output_writer):
      
      if self._title and len(self._title) > self._MAXIMUM_WIDTH:
        raise RuntimeError('Title length out of bounds.')
  
      if self._number_of_columns not in (0, 2):
        raise RuntimeError('Unsupported number of columns: {0:d}.'.format(
            self._number_of_columns))
  
      if self._column_width < 0 or self._column_width >= self._MAXIMUM_WIDTH:
        raise RuntimeError('Column width out of bounds.')
  
      output_writer.Write('\n')
  
      self._WriteHeader(output_writer)
  
      if self._columns:
        self._WriteRow(output_writer, self._columns)
        self._WriteSeparatorLine(output_writer)
  
      for values in self._rows:
        self._WriteRow(output_writer, values)
  
      self._WriteSeparatorLine(output_writer)
docs: Writes the table to the output writer.
  
      Args:
        output_writer (OutputWriter): output writer.
  
      Raises:
        RuntimeError: if the title exceeds the maximum width or
            if the table has more than 2 columns or
            if the column width is out of bounds.