4
# Create a new streaming emitter. Emitter will print to +io+. See
5
# Psych::Stream for an example.
7
super({}, self.class.const_get(:Emitter).new(io))
11
# Start streaming using +encoding+
12
def start encoding = Nodes::Stream::UTF8
13
super.tap { yield self if block_given? }
15
finish if block_given?
19
def register target, obj