TEMPLE: Template compilation framework in Ruby

Adam Stacoviak Adam Stacoviak

TEMPLE is “Rack” for Templating engines: http://judofyr.net/posts/temple.html Nice! (via @assaf)

The idea is to build an engine based on a chain of compilers. A compiler is simply a class which has a method called #compile which takes one arguments. It’s illegal for a compiler to mutate the argument, and it should be possible to use the same instance several times.
0:00 / 0:00