class Phlex::Buffered
def __output_method__(*args, **kwargs, &block)
def __output_method__(*args, **kwargs, &block) output = __getobj__.public_send(__callee__, *args, **kwargs, &block) @buffer << output if output.is_a? String nil end
def initialize(object, buffer:)
def initialize(object, buffer:) super(object) @buffer = buffer end