class Terminal::Table

def number_of_columns

def number_of_columns
  headings_with_rows.map { |r| r.cells.size }.max
end