Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Psych::TreeBuilder#start_document
start_document(version, tag_directives, implicit)
ext/psych/lib/psych/tree_builder.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/ext/psych/lib/psych/tree_builder.rb, line 65
def start_document version, tag_directives, implicit
n = Nodes::Document.new version, tag_directives, implicit
set_start_location(n)
@last.children << n
push n
end
Handles start_document events with version, tag_directives, and implicit styling.