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.
100 101 102 |
# File 'lib/bson/symbol.rb', line 100 def from_bson(buffer) buffer.get_string.intern end |