Class: Barber::Ember::InlinePrecompiler
- Inherits:
-
Object
- Object
- Barber::Ember::InlinePrecompiler
- Defined in:
- lib/barber/ember/precompilers.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.call(template, options = nil) ⇒ Object
5 6 7 |
# File 'lib/barber/ember/precompilers.rb', line 5 def call(template, = nil) "Ember.Handlebars.template(#{compile(template, )})" end |
.compile(template, options = nil) ⇒ Object
9 10 11 |
# File 'lib/barber/ember/precompilers.rb', line 9 def compile(template, = nil) Barber::Ember::Precompiler.compile template, end |