Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/mongo/bson.rb
Overview
Patch for allowing deprecated symbols to be used.
Instance Method Summary collapse
-
#bson_type ⇒ String
Overrides the default BSON type to use the symbol type instead of a string type.
Instance Method Details
#bson_type ⇒ String
Overrides the default BSON type to use the symbol type instead of a string type.
32 33 34 |
# File 'lib/mongo/bson.rb', line 32 def bson_type BSON::Symbol::BSON_TYPE end |