Method: ActionView::StreamingTemplateRenderer::Body#each
- Defined in:
- actionview/lib/action_view/renderer/streaming_template_renderer.rb
#each(&block) ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'actionview/lib/action_view/renderer/streaming_template_renderer.rb', line 18 def each(&block) begin @start.call(block) rescue Exception => exception log_error(exception) block.call ActionView::Base.streaming_completion_on_exception end self end |