Text::Reform reformats text according to formatting picture templates. It's a port from the Perl module of the same name originally by Damian Conway (firstname.lastname@example.org). Much of the documentation has been copied from the original documentation and adapted to the Ruby version.
The interface is subject to change, since it will undergo major Rubyfication; additionally, some features may have not been ported yet.
require 'text/reform' f = ::. puts f.format(template, data)
FIX (list of requirements)
For page header and footer, if you mix :center, :left and :right in the same hash, only one of them will get used. It would be nice if those were combined.
This release of text-reform is only installed with RubyGems.
After checking out the source, run:
$ rake newb
This task will install any missing dependencies, run the tests/specs, and generate the RDoc.
Copyright © 2005, Kaspar Schiess. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the Ruby License (see www.ruby-lang.org/en/LICENSE.txt) or the MIT License.