This website requires JavaScript.
Explore
Help
Register
Sign In
kpriv
/
pkgsrc
Watch
1
Star
0
Fork
You've already forked pkgsrc
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
190519999b
pkgsrc
/
textproc
/
ruby-tilt
/
ALTERNATIVES
2 lines
37 B
Text
Raw
Normal View
History
Unescape
Escape
Import ruby-tilt-1.3.2 as textproc/ruby-tilt. Tilt is a thin interface over a bunch of different Ruby template engines in an attempt to make their usage as generic 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.
2011-08-06 15:10:18 +02:00
bin/tilt @PREFIX@/bin/tilt@RUBY_VER@
Reference in a new issue
Copy permalink