Montoc
Monospace Text Document: convert any plain text to rectangularize text (same number of characters per line) or text matrix (two dimensional Array of chars) by adding spaces in between the text. Set alignment to left, right, center, and justify. You can also reflow the text to the specified columns, and many other features.
Installation
Add this line to your application's Gemfile:
gem 'montoc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install montoc
Usage
require 'montoc'
Contributing
- Fork it ( https://github.com/styd/montoc/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