Module: Mongoid::Extensions::ObjectId
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/mongoid/extensions/object_id.rb |
Overview
Adds type-casting behavior to ::BSON::ObjectId
.
Instance Method Summary
-
#__evolve_object_id__ ⇒ BSON::ObjectId
(also: #__mongoize_object_id__)
Evolve the object id.
-
#__mongoize_object_id__
Alias for
Mongoid::Extensions::ObjectId#evolve_object_id
.
Instance Method Details
#__evolve_object_id__ ⇒ BSON::ObjectId Also known as: #__mongoize_object_id__
Evolve the object id.
# File 'lib/mongoid/extensions/object_id.rb', line 16
def __evolve_object_id__ self end
#__mongoize_object_id__
Alias for Mongoid::Extensions::ObjectId#evolve_object_id
.
# File 'lib/mongoid/extensions/object_id.rb', line 19
alias :__mongoize_object_id__ :__evolve_object_id__