method

new

ruby latest stable - Class: Psych::Streaming::ClassMethods
new(io)
public

Create a new streaming emitter. Emitter will print to io. See Psych::Stream for an example.