Class: Tilt::HandlebarsTemplate
- Inherits:
-
Template
- Object
- Template
- Tilt::HandlebarsTemplate
- Defined in:
- lib/linner/template.rb
Instance Method Summary collapse
Instance Method Details
#evaluate(scope, locals, &block) ⇒ Object
58 59 60 |
# File 'lib/linner/template.rb', line 58 def evaluate(scope, locals, &block) @output ||= Handlebars.precompile(data) end |
#prepare ⇒ Object
56 |
# File 'lib/linner/template.rb', line 56 def prepare; end |