Skip to content

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)

Handles start_document events with version, tag_directives, and implicit styling.

See Psych::Handler#start_document

See also #set_start_location #start_stream #set_location also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0