class Phlex::Unbuffered

def method_missing(name, *args, **kwargs, &block)

def method_missing(name, *args, **kwargs, &block)
	if @object.respond_to?(name)
		__class__.define_method(name) do |*a, **k, &b|
			@object.capture { @object.public_send(name, *a, **k, &b) }
		end
		# Now we've defined this missing method, we can call it.
		__public_send__(name, *args, **kwargs, &block)
	else
		super
	end
end