Module: Sinatra::Templates
- Defined in:
- lib/sinatra/mustache.rb
Instance Method Summary collapse
Instance Method Details
#mustache(template, options = {}, locals = {}) ⇒ Object
7 8 9 |
# File 'lib/sinatra/mustache.rb', line 7 def mustache(template, ={}, locals={}) render :mustache, template, , locals end |