instance method
Psych::TreeBuilder#end_document
end_document(implicit_end = !streaming?)
ext/psych/lib/psych/tree_builder.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/psych/lib/psych/tree_builder.rb, line 77
def end_document implicit_end = !streaming?
@last.implicit_end = implicit_end
n = pop
set_end_location(n)
n
end
Handles end_document events with version, tag_directives, and implicit styling.