YAML::Stream#add Method
add
Appends a new document to the Stream.

aYamlStream.add(
  Object doc
)

Parameters
doc
After addition, this document will appear at the end of the YAML stream.
Return Values
None