Class: Tilt::MustacheTemplate

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



5
# File 'lib/tilt/mustache.rb', line 5

def initialize_engine; end

#prepareObject



7
# File 'lib/tilt/mustache.rb', line 7

def prepare; end