method

root

v1_9_3_392 - 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