class Symbol
Patch for allowing deprecated symbols to be used.
@since 2.2.1
Public Instance Methods
bson_type()
click to toggle source
Overrides the default BSON type to use the symbol type instead of a string type.
@example Get the bson type.
:test.bson_type
@return [ String ] The character 14.
@since 2.2.1
# File lib/mongo/bson.rb, line 29 def bson_type BSON::Symbol::BSON_TYPE end