The module for Moped's BSON implementation.
Create a new object id from the provided string.
@example Create a new object id.
Moped::BSON::ObjectId("4faf83c7dbf89b7b29000001")
@param [ String ] string The string to use.
@return [ ObjectId ] The object id.
@since 1.0.0
# File lib/moped/bson.rb, line 39 def ObjectId(string) ObjectId.from_string(string) end
Generated with the Darkfish Rdoc Generator 2.