YAML::Stream#edit Method
edit
Replaces a document at the given index in the Stream object.

aYamlStream.edit(
  Integer doc_num,
  Object doc
)

Parameters
doc_num
The index in the @documents array to place this object.
doc
The Object to place in the Stream.
Return Values
None