module Psych::Streaming::ClassMethods

def new io

Psych::Stream for an example.
Create a new streaming emitter. Emitter will print to +io+. See
##
def new io
  emitter      = const_get(:Emitter).new(io)
  class_loader = ClassLoader.new
  ss           = ScalarScanner.new class_loader
  super(emitter, ss, {})
end