module TablePrint::RowRecursion

def width

def width
  return parent.width if parent
  columns.collect(&:width).inject(&:+) + (columns.length - 1) * 3 # add (n-1)*3 for the 3-character separator
end