class Phlex::HTML
def capture
def capture return unless block_given? original_buffer = @_target new_buffer = +"" @_target = new_buffer yield new_buffer ensure @_target = original_buffer end
def capture return unless block_given? original_buffer = @_target new_buffer = +"" @_target = new_buffer yield new_buffer ensure @_target = original_buffer end