method
root
v2_4_6 -
Show latest stable
- Class:
Psych::Nodes::Document
root()public
Returns the root node. A Document may only have one root node: http://yaml.org/spec/1.1/#id898031
root()Returns the root node. A Document may only have one root node: http://yaml.org/spec/1.1/#id898031