module BSON::Object
def to_bson_key
- Since: - 2.2.4
Other tags:
- See: http://bsonspec.org/#/specification -
Raises:
-
(BSON::Error::InvalidKey)
- Always raises an exception.
Other tags:
- Example: Convert the object to a BSON key. -
def to_bson_key raise Error::InvalidKey.new(self) end