aYamlParser.parse( (String or IO) io )
This method is used by YAML::load to load a single document. In fact, YAML::load is equivalent to:
YAML::Parser.new.parse( io )