Module: BSON::Specialized::ClassMethods

Defined in:
lib/bson/specialized.rb

Overview

Since:

  • 2.0.0

Instance Method Summary collapse

Instance Method Details

#from_bson(bson) ⇒ MinKey

Deserialize MinKey from BSON.

Parameters:

  • bson (BSON)

    The encoded MinKey.

Returns:

  • (MinKey)

    The decoded MinKey.

See Also:

Since:

  • 2.0.0



69
70
71
# File 'lib/bson/specialized.rb', line 69

def from_bson(bson)
  new
end