We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeac33f commit 1c1991dCopy full SHA for 1c1991d
lib/mongo/grid/fs_bucket.rb
@@ -359,8 +359,8 @@ def open_upload_stream(filename, opts = {})
359
# chunks collection. After all the chunks have been uploaded, it creates a files collection
360
# document for the filename in the files collection.
361
#
362
- # @example Open a stream to which the contents of a file came be written.
363
- # fs.open_upload_stream('a-file.txt')
+ # @example Upload a file to the GridFS bucket.
+ # fs.upload_from_stream('a-file.txt')
364
365
# @param [ String ] filename The filename of the file to upload.
366
# @param [ IO ] io The source io stream to upload from.
0 commit comments