Module
Instance Methods
ext/psych/lib/psych/streaming.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/ext/psych/lib/psych/streaming.rb, line 25
def register target, obj
end
No documentation available
ext/psych/lib/psych/streaming.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/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
Start streaming using encoding