Class: Mongo::Undefined
- Inherits:
-
Object
- Object
- Mongo::Undefined
- Defined in:
- lib/mongo/types/undefined.rb
Overview
DEPRECATED - the ruby driver converts the BSON undefined type to nil, and saves this type as nil
Instance Method Summary collapse
-
#initialize ⇒ Undefined
constructor
A new instance of Undefined.
Constructor Details
#initialize ⇒ Undefined
Returns a new instance of Undefined.
23 24 25 26 |
# File 'lib/mongo/types/undefined.rb', line 23 def initialize super warn "the Undefined type is deprecated and will be removed - BSON undefineds get implicitly converted to nil now" end |