File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ you wish to instantiate and passing it the ``StringIO`` bytes.
58
58
Int32.from_bson(string_io)
59
59
60
60
Core Ruby objects that are represented in the BSON specification and
61
- have a ``to_bson`` method defined for them are:
61
+ have a ``to_bson`` method defined for them are:
62
62
63
63
- ``Object``
64
64
- ``Array``
@@ -86,7 +86,7 @@ a subtype when constructing.
86
86
87
87
BSON::Binary.new(binary_data, :md5)
88
88
89
- Valid subtypes are:
89
+ Valid subtypes are:
90
90
91
91
- ``:generic``
92
92
- ``:function``
@@ -188,7 +188,7 @@ them.
188
188
- ``{ "$binary" : "\x01", "$type" : "md5" }``
189
189
190
190
* - ``BSON::Code``
191
- - ``{ "$code" : "this.v = 5 }``
191
+ - ``{ "$code" : "this.v = 5" }``
192
192
193
193
* - ``BSON::CodeWithScope``
194
194
- ``{ "$code" : "this.v = value", "$scope" : { v => 5 }}``
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ them.
248
248
- ``{ "$binary" : "\x01", "$type" : "md5" }``
249
249
250
250
* - ``BSON::Code``
251
- - ``{ "$code" : "this.v = 5 }``
251
+ - ``{ "$code" : "this.v = 5" }``
252
252
253
253
* - ``BSON::CodeWithScope``
254
254
- ``{ "$code" : "this.v = value", "$scope" : { v => 5 }}``
You can’t perform that action at this time.
0 commit comments