Install ruby-table-print by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-table-print
Description:
Ruby library to turn objects into formatted columns
TablePrint turns objects into nicely formatted columns for easy reading. Works great in rails console, works on pure ruby objects, autodetects columns, lets you traverse ActiveRecord associations. Simple, powerful.
Homepage: http://tableprintgem.com
Version: 1.5.6-1
Section: universe/ruby