class Phlex::Context
@api private
def capturing_into(new_target)
def capturing_into(new_target) original_target = @target original_capturing = @capturing begin @target = new_target @capturing = true yield ensure @target = original_target @capturing = original_capturing end new_target end
def initialize
def initialize @target = +"" @capturing = false end