A FetchError
exception wraps up the various possible IO
and HTTP failures that could happen while downloading from the internet.
Create a new Alias
that points to an anchor
Create a new Psych::Nodes::Document
object.
version
is a list indicating the YAML
version. tags_directives
is a list of tag directive declarations implicit
is a flag indicating whether the document will be implicitly started.
This creates a YAML
document object that represents a YAML
1.1 document with one tag directive, and has an implicit start:
Psych::Nodes::Document.new( [1,1], [["!", "tag:tenderlovemaking.com,2009:"]], true )
See also Psych::Handler#start_document
Returns the root node. A Document
may only have one root node: yaml.org/spec/1.1/#id898031
Create a new Psych::Nodes::Mapping
object.
anchor
is the anchor associated with the map or nil
. tag
is the tag associated with the map or nil
. implicit
is a boolean indicating whether or not the map was implicitly started. style
is an integer indicating the mapping style.
See also Psych::Handler#start_mapping
Create a new Psych::Nodes::Node