Method: Nancy::Render#render
- Defined in:
- lib/nancy/render.rb
#render(template, locals = {}, options = {}, &block) ⇒ Object
6 7 8 9 10 |
# File 'lib/nancy/render.rb', line 6 def render(template, locals = {}, = {}, &block) templates_cache.fetch(template) { Tilt.new(template, ) }.render(self, locals, &block) end |