class Psych::Nodes::Document

def root

http://yaml.org/spec/1.1/#id898031
Returns the root node. A Document may only have one root node:
##
def root
  children.first
end