Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
new(io)
public
Create a new streaming
emitter. Emitter will print to io. See Psych::Stream for an example.
# File ext/psych/lib/psych/streaming.rb, line 6
def initialize io
super({}, self.class.const_get(:Emitter).new(io))
end