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

  1. Fork it ( https://github.com/styd/montoc/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request