class BSON::Undefined

Represents the Undefined BSON type

@see bsonspec.org/#/specification

@since 2.0.0

Constants

BSON_TYPE

Undefined is type 0x06 in the BSON spec.

@since 2.0.0

Public Instance Methods

==(other) click to toggle source

Determine if undefined is equal to another object.

@example Check undefined equality.

BSON::Undefined.new == object

@param [ Object ] other The object to check against.

@return [ true, false ] If the objects are equal.

@since 2.0.0

# File lib/bson/undefined.rb, line 40
def ==(other)
  self.class == other.class
end