module MongoidExtended::ObjectId

Public Class Methods

configured() click to toggle source
# File lib/mongoid_extended/object_id.rb, line 6
def configured
  ::BSON::ObjectId.send(:prepend, HashRepresentation)

  @configured = true
end
configured?() click to toggle source
# File lib/mongoid_extended/object_id.rb, line 12
def configured?
  !!@configured
end