method

new

ruby latest stable - Class: Psych::Streaming

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.