The Process::Sys
module contains UID
and GID
functions which provide direct bindings to the system calls of the same names instead of the more-portable versions of the same functionality found in the Process
, Process::UID
, and Process::GID
modules.
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
Create a new Psych::Nodes::Scalar
object.
value
is the string value of the scalar anchor
is an associated anchor or nil tag
is an associated tag or nil plain
is a boolean value quoted
is a boolean value style
is an integer indicating the string style
See also Psych::Handler#scalar
Create a new object representing a YAML
sequence.
anchor
is the anchor associated with the sequence or nil. tag
is the tag associated with the sequence or nil. implicit
a boolean indicating whether or not the sequence was implicitly started. style
is an integer indicating the list style.