method

with_output_buffer

rails latest stable - Class: ActionView::Helpers::CaptureHelper
with_output_buffer(buf = nil)
public

Use an alternate output buffer for the duration of the block. Defaults to a new empty string.