class Psych::Handler
def start_document version, tag_directives, implicit
tag_directives # => [["!", "tag:tenderlovemaking.com,2009:"]]
version # => [1, 1]
The parameters for start_document must be this:
--- !squee
%TAG ! tag:tenderlovemaking.com,2009:
%YAML 1.1
Given the following YAML:
=== Example
the document is started implicitly.
and suffix of each tag, and +implicit+ is a boolean indicating whether
dealt with, +tag_directives+ is a list of tuples indicating the prefix
+version+ will be an array of integers indicating the YAML version being
+tag_directives+, if the document is +implicit+.
Called when the document starts with the declared +version+,
##
def start_document version, tag_directives, implicit end