Flowdock
method

render_template

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: StreamingTemplateRenderer
render_template(template, layout_name = nil, locals = {}) public

For streaming, instead of rendering a given a template, we return a Body object that responds to each. This object is initialized with a block that knows how to render the template.

Show source
Register or log in to add new notes.