Skip to content

Commit 74abc87

Browse files
committed
RUBY-1111 Fix typos
1 parent 626b149 commit 74abc87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/mongo/grid/fs_bucket.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def open_upload_stream(filename, opts = {})
373373
# @param [ IO ] io The source io stream to upload from.
374374
# @param [ Hash ] opts The options for the write stream.
375375
#
376-
# @option opts [ Integer ] :file_id An optional unique file id. An ObjectId is generated otherwise.
376+
# @option opts [ Object ] :file_id An optional unique file id. An ObjectId is generated otherwise.
377377
# @option opts [ Integer ] :chunk_size Override the default chunk size.
378378
# @option opts [ Hash ] :write The write concern.
379379
# @option opts [ Hash ] :metadata User data for the 'metadata' field of the files

lib/mongo/grid/stream/write.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Write
2727
# @since 2.1.0
2828
attr_reader :fs
2929

30-
# @return [ Obejct ] file_id The id of the file being uploaded.
30+
# @return [ Object ] file_id The id of the file being uploaded.
3131
#
3232
# @since 2.1.0
3333
attr_reader :file_id

0 commit comments

Comments
 (0)