class BSON::ObjectId

def hash

Other tags:
    Since: - 2.0.0

Returns:
  • (Integer) - The hash value.

Other tags:
    Example: Get the hash value. -
def hash
  generate_data.hash
end