table_rex v0.6.0 Release Notes

Release Date: 2016-01-07 // over 6 years ago
  • No breaking changes

    Table.new/0 has been supplemented with Table.new/3 which takes rows and an optional header and title. This change was made as when the data is known upfront it was quite verbose doing:

    Table.new
    |> Table.add_rows(rows)
    |> Table.set_header(header)
    |> Table.set_title(title)
    |> Table.render
    

    The following can now be used instead:

    Table.new(rows, header, title)
    |> Table.render