Class: Symbol
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/mongo/bson.rb |
Overview
Patch for allowing deprecated symbols to be used.
Instance Method Summary
-
#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.
# File 'lib/mongo/bson.rb', line 32
def bson_type BSON::Symbol::BSON_TYPE end