class Phlex::HTML
def __vanish__(*args)
Like `capture` but the output is vanished into a BlackHole buffer.
def __vanish__(*args) return unless block_given? original_buffer = @_target @_target = BlackHole yield(*args) nil ensure @_target = original_buffer end