Module: Moped::BSON::Extensions::Symbol::ClassMethods
- Included in:
- Symbol
- Defined in:
- lib/moped/bson/extensions/symbol.rb
Instance Method Summary collapse
Instance Method Details
#__bson_load__(io) ⇒ Object
7 8 9 |
# File 'lib/moped/bson/extensions/symbol.rb', line 7 def __bson_load__(io) io.read(*io.read(4).unpack(INT32_PACK)).from_utf8_binary.chop!.intern end |