# File lib/terminal-table/table.rb, line 104
    def number_of_columns
      headings_with_rows.map { |r| r.number_of_columns }.max || 0
    end