Module: BSON::String::ClassMethods

Defined in:
lib/bson/string.rb

Overview

Since:

  • 2.0.0

Instance Method Summary collapse

Instance Method Details

#from_bson(buffer) ⇒ Regexp

Deserialize a string from BSON.

See Also:

Since:

  • 2.0.0


132
133
134
# File 'lib/bson/string.rb', line 132

def from_bson(buffer)
  buffer.get_string
end