module Mongoid::Extensions::ObjectId
Adds type-casting behavior to BSON::ObjectId.
Public Instance Methods
__evolve_object_id__()
click to toggle source
Evolve the object id.
@example Evolve the object id.
object_id.__evolve_object_id__
@return [ BSON::ObjectId ] self.
# File lib/mongoid/extensions/object_id.rb, line 16 def __evolve_object_id__ self end
Also aliased as: __mongoize_object_id__