blob: 5a9ecc7626fbdb29da2321bb8eb317bc5c5a767d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
Inspired by ctemplate, Mustache is a framework-agnostic way to render
logic-free views.
As ctemplates says, "It emphasizes separating logic from presentation:
it is impossible to embed application logic in this template
language.
Think of Mustache as a replacement for your views. Instead of views
consisting of ERB or HAML with random helpers and arbitrary logic,
your views are broken into two parts: a Ruby class and an HTML
template.
|