minor: doc fix
This commit is contained in:
parent
6d9c6bb06c
commit
1ab2f171c8
|
@ -157,7 +157,7 @@ module Mongo
|
||||||
# the normal cursor timeout behavior of the mongod process. When +false+, the returned cursor will never timeout. Note
|
# the normal cursor timeout behavior of the mongod process. When +false+, the returned cursor will never timeout. Note
|
||||||
# that disabling timeout will only work when #find is invoked with a block. This is to prevent any inadvertant failure to
|
# that disabling timeout will only work when #find is invoked with a block. This is to prevent any inadvertant failure to
|
||||||
# close the cursor, as the cursor is explicitly closed when block code finishes.
|
# close the cursor, as the cursor is explicitly closed when block code finishes.
|
||||||
# @options opts [Block] :transformer (nil) a block for tranforming returned documents.
|
# @option opts [Block] :transformer (nil) a block for tranforming returned documents.
|
||||||
# This is normally used by object mappers to convert each returned document to an instance of a class.
|
# This is normally used by object mappers to convert each returned document to an instance of a class.
|
||||||
#
|
#
|
||||||
# @raise [ArgumentError]
|
# @raise [ArgumentError]
|
||||||
|
|
Loading…
Reference in New Issue