Symbol — Documentation by YARD 0.9.37 (original) (raw)
Class: Symbol
Inherits:
Object
- Object
- Symbol show all
Defined in:
lib/mongo/bson.rb
Overview
Patch for allowing deprecated symbols to be used.
Instance Method Summarycollapse
- #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.
Examples:
Get the bson type.
:test.bson_type
Returns:
- (String) —
The character 14.
Since:
- 2.2.1
32 33 34 | # File 'lib/mongo/bson.rb', line 32 def bson_type BSON::Symbol::BSON_TYPE end |
---|
Generated on Wed Mar 12 11:54:03 2025 byyard 0.9.37 (ruby-3.2.3).