Class: Tilt::HandlebarsTemplate

Inherits:
Template
  • Object
show all
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

#prepareObject



56
# File 'lib/linner/template.rb', line 56

def prepare; end