module Psych::Streaming::ClassMethods
Public Instance Methods
Source
# File ext/psych/lib/psych/streaming.rb, line 8 def new io emitter = const_get(:Emitter).new(io) class_loader = ClassLoader.new ss = ScalarScanner.new class_loader super(emitter, ss, {}) end
创建一个新的流式发射器。 Emitter 将打印到 io。有关示例,请参见 Psych::Stream。
调用超类方法