def report(title, columns, rows)
      table = capture_table([columns] + rows)
      title = "=== #{title} "
      title << "=" * [(table.split($/).max{|a,b| a.size <=> b.size }.size - title.size), 3].max
      puts title
      puts table
    end
def report(title, columns, rows)
      table = capture_table([columns] + rows)
      title = "=== #{title} "
      title << "=" * [(table.split($/).max{|a,b| a.size <=> b.size }.size - title.size), 3].max
      puts title
      puts table
    end
Print a table with a title and a top border of matching width.