Class: Booster::Handlebars
- Inherits:
-
Object
- Object
- Booster::Handlebars
- Defined in:
- lib/booster/handlebars.rb
Overview
Support class for compiling Handlebars templates to JavaScript source code using the Handlebars.js library with ExecJS.
Class Method Summary collapse
Class Method Details
.precompile(*args) ⇒ Object
11 12 13 |
# File 'lib/booster/handlebars.rb', line 11 def precompile(*args) context.call('Handlebars.precompile', *args) end |