Sha256: dddc5c851addd37be4e9af8617f3bbe97ae00d0f833f22efe4fd43c6b3e25c97
Contents?: true
Size: 234 Bytes
Versions: 9
Compression:
Stored size: 234 Bytes
Contents
module Mongoid module Compatibility module ObjectId def self.legal?(value) Mongoid::Compatibility::Version.mongoid3? ? Moped::BSON::ObjectId.legal?(value) : BSON::ObjectId.legal?(value) end end end end
Version data entries
9 entries across 9 versions & 2 rubygems