Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Psych::Handler#end_document
end_document(implicit)
ext/psych/lib/psych/handler.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ext/psych/lib/psych/handler.rb, line 93
def end_document implicit
end
Called with the document ends. implicit is a boolean value indicating whether or not the document has an implicit ending.
Example
Given the following YAML:
--- hello world
implicit will be true. Given this YAML:
--- hello world ...
implicit will be false.