Method: Lotus::View::Rendering#render
- Defined in:
- lib/lotus/view/rendering.rb
#render(context) ⇒ String
Render the given context and locals with the appropriate template. If there are registered subclasses, it choose the right class, according
to the requested format.
235 236 237 |
# File 'lib/lotus/view/rendering.rb', line 235 def render(context) registry.resolve(context).render end |