method

with_output_buffer

with_output_buffer(buf = nil)
public

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