Methods

BSON::NilClass::ClassMethods

Public Instance Methods

from_bson(bson) click to toggle source

Deserialize NilClass from BSON.

@param [ BSON ] bson The encoded Null value.

@return [ nil ] The decoded nil value.

@see bsonspec.org/#/specification

@since 2.0.0

# File lib/bson/nil_class.rb, line 54
def from_bson(bson)
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.