https://github.com/itdxer/painless-table
Library for data visualization in the terminal.
https://github.com/itdxer/painless-table
Last synced: 3 months ago
JSON representation
Library for data visualization in the terminal.
- Host: GitHub
- URL: https://github.com/itdxer/painless-table
- Owner: itdxer
- Created: 2017-01-02T22:45:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-02T22:48:49.000Z (over 8 years ago)
- Last Synced: 2023-08-03T03:55:18.811Z (almost 2 years ago)
- Language: Ruby
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Painless Table: gem for visualisation data in terminal.
## USAGE
```
table = Painless::Table.new(
heading: [:id, :title, :created_at],
objects: [
{id: 10, title: 'First painless title', created_at: Time.now},
{id: 9, title: 'Great article', created_at: Time.now},
{id: 1089, title: 'Last post', created_at: Time.now}
]
)puts table
```