Module: Mongoid::Extensions::ObjectId

Defined in:
build/mongoid-7.3/lib/mongoid/extensions/object_id.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#__evolve_object_id__BSON::ObjectId Also known as: __mongoize_object_id__

Evolve the object id.

Examples:

Evolve the object id.

object_id.__evolve_object_id__

Returns:

Since:

  • 3.0.0



16
17
18
# File 'build/mongoid-7.3/lib/mongoid/extensions/object_id.rb', line 16

def __evolve_object_id__
  self
end