Parsed documentation:
View on GitHub
Merge this document with another document, returning the same document in
the process.

@example Merge with another document.
  document.merge(name: "Bob")

@param [ BSON::Document, Hash ] other The document/hash to merge with.

@eturn [ BSON::Document ] The result of the merge.

@since 3.0.0
Please help! Open an issue on GitHub if this assessment is incorrect.