Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Embedded ruby for RTF documents. You provide .rtf template and data and rtf-templater generates the document.
branch: master
Failed to load latest commit information.
fixtures added some specs
lib added some specs
showcase fixed dec method
spec added some specs
.gitignore added some specs
Gemfile initial commit
LICENSE initial commit
README.md Update master
Rakefile added some specs
rtf-templater.gemspec added some specs

README.md

RtfTemplater

This is a very simple gem designed to generate RTF documents from a given template.

This gem is written in haste, but it works in most cases (I tested it on: mac office, TextEdit, office 2007).

It is heavily inspired by Serenity.

Installation

Add this line to your application's Gemfile:

gem 'rtf-templater'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rtf-templater

Usage

Look at the example in the showcase directory.

In short this template:

template

Generates such document:

document

Contributing

  1. Fork it
  2. Create your feature or bug-fix branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.