module Psych::Streaming
Public Instance Methods
Source
# File ext/psych/lib/psych/streaming.rb, line 18 def start encoding = Nodes::Stream::UTF8 super.tap { yield self if block_given? } ensure finish if block_given? end
使用 encoding 开始流式传输
调用超类方法
私有实例方法
Source
# File ext/psych/lib/psych/streaming.rb, line 25 def register target, obj end