Class: Tilt::MustacheTemplate
- Inherits:
-
Template
- Object
- Template
- Tilt::MustacheTemplate
- Defined in:
- lib/tilt/mustache.rb
Instance Method Summary collapse
Instance Method Details
#evaluate(scope, locals, &block) ⇒ Object
9 10 11 |
# File 'lib/tilt/mustache.rb', line 9 def evaluate(scope, locals, &block) Mustache.render(data, with_block(view_model(scope, locals), &block)) end |
#initialize_engine ⇒ Object
5 |
# File 'lib/tilt/mustache.rb', line 5 def initialize_engine; end |
#prepare ⇒ Object
7 |
# File 'lib/tilt/mustache.rb', line 7 def prepare; end |