Module: BSON::Specialized::ClassMethods

Defined in:
lib/bson/specialized.rb

Overview

Since:

  • 2.0.0

Instance Method Summary collapse

Instance Method Details

#from_bson(buffer) ⇒ Specialized

Deserialize from BSON.

Parameters:

  • buffer (ByteBuffer)

    The byte buffer.

Returns:

See Also:

Since:

  • 2.0.0


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

def from_bson(buffer)
  new
end