This repository has been archived by the owner. It is now read-only.
ascii_tables
ascii_tables
Render ASCII tables.
Installation
-
Add the dependency to your
shard.yml:dependencies: tables: github: frncsdrk/ascii_tables -
Run
shards install
Usage
require "ascii_tables"
Render tables with #render method.
config = AsciiTables::TableConfig.new
config.headers = ["one", "two", "three"]
table = AsciiTables.render([["hello", ",", "world"]], config)
puts table
Development
Requirements
- Crystal installation
makefor convenience
Setup
shards install
Contributing
- Fork it (https://github.com/your-github-user/tables/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- frncsdrk - creator and maintainer
License
The Unlicense
Repository
ascii_tables
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- 4 months ago
- September 27, 2024
License
The Unlicense
Links
Synced at
Sat, 29 Nov 2025 01:46:02 GMT
Languages