Class: BSON::Undefined
- Inherits:
-
Object
- Object
- BSON::Undefined
- Includes:
- Specialized
- Defined in:
- lib/bson/undefined.rb
Overview
Represents the Undefined BSON type
Constant Summary collapse
- BSON_TYPE =
Undefined is type 0x06 in the BSON spec.
6.chr.force_encoding(BINARY).freeze
Instance Method Summary collapse
-
#==(other) ⇒ true, false
Determine if undefined is equal to another object.
Methods included from Specialized
Instance Method Details
#==(other) ⇒ true, false
Determine if undefined is equal to another object.
40 41 42 |
# File 'lib/bson/undefined.rb', line 40 def ==(other) self.class == other.class end |