./textproc/ruby-tilt, Generic interface to multiple Ruby template engines

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2017Q3, Version: 2.0.8, Package name: ruby23-tilt-2.0.8, Maintainer: pkgsrc-users

Tilt is a thin interface over a bunch of different Ruby template engines in
an attempt to make their usage as generic as possible. This is useful for web
frameworks, static site generators, and other systems that support multiple
template engines but don't want to code for each of them individually.

The following features are supported for all template engines (assuming the
feature is relevant to the engine):

* Custom template evaluation scopes / bindings
* Ability to pass locals to template evaluation
* Support for passing a block to template evaluation for "yield"
* Backtraces with correct filenames and line numbers
* Template file caching and reloading
* Fast, method-based template source compilation

The primary goal is to get all of the things listed above right for all
template engines included in the distribution.


Required to run:
[lang/ruby23-base]

Master sites:

SHA1: ac4b5bc216a961287b3c2ebde877c039d2f1a83d
RMD160: 69957f11bbc0bc9c402e44a813acadbe7c7fbf61
Filesize: 53.5 KB

Version history: (Expand)