Module: BSON::Symbol::ClassMethods
- Defined in:
- lib/bson/symbol.rb
Overview
Instance Method Summary collapse
-
#from_bson(buffer) ⇒ Regexp
Deserialize a symbol from BSON.
Instance Method Details
#from_bson(buffer) ⇒ Regexp
Deserialize a symbol from BSON.
103 104 105 |
# File 'lib/bson/symbol.rb', line 103 def from_bson(buffer) buffer.get_string.intern end |