This class works in conjunction with Psych::Parser to build an in-memory parse tree that represents a YAML document.

Example

parser = Psych::Parser.new Psych::TreeBuilder.new
parser.parse('--- foo')
tree = parser.handler.root

See Psych::Handler for documentation on the event methods used in this class.

Attributes
Read

Returns the root node for the built tree

Class Methods

Create a new TreeBuilder instance

Instance Methods
No documentation available

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

See Psych::Handler#start_document

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

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

See Psych::Handler#start_document

No documentation available