pretty.cr 
Something pretty
stuff for Crystal.
- crystal: 0.22.0
Installation
Add this to your application's shard.yml
:
dependencies:
pretty:
github: maiha/pretty.cr
version: 0.1.0
Usage
require "pretty"
lines
- formats
Array(Array(String))
as table-like text.
array = [
["user", "=", "maiha"],
["password", "=", "123"],
]
Pretty.lines(array, delimiter: " ")
# user = maiha
# password = 123
Development
make
Contributing
- Fork it ( https://github.com/maiha/pretty.cr/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
- maiha maiha - creator, maintainer