Class: String
Instance Method Summary collapse
-
#to_oid ⇒ Object
Convert this String to an ObjectID.
Instance Method Details
#to_oid ⇒ Object
Convert this String to an ObjectID.
25 26 27 |
# File 'lib/mongo_record/base.rb', line 25 def to_oid XGen::Mongo::Driver::ObjectID.from_string(self) end |