Module: Mongoid::Extensions::ObjectId

Defined in:
lib/mongoid/extensions/object_id.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#__evolve_object_id__Moped::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



14
15
16
# File 'lib/mongoid/extensions/object_id.rb', line 14

def __evolve_object_id__
  self
end