Class: BSON::ObjectID

Inherits:
Object show all
Defined in:
lib/mongo_record/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_oidObject

Convert this object to an ObjectID.



77
78
79
# File 'lib/mongo_record/core_ext.rb', line 77

def to_oid
  self
end