You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/rdf/mongo.rb
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -118,13 +118,13 @@ class Repository < ::RDF::Repository
118
118
##
119
119
# Initializes this repository instance.
120
120
#
121
-
# @overload initialize(options = {}, &block)
121
+
# @overload initialize(**options, &block)
122
122
# @param [Hash{Symbol => Object}] options
123
123
# @option options [String, #to_s] :title (nil)
124
124
# @option options [URI, #to_s] :uri (nil)
125
125
# URI in the form `mongodb://host:port/db`. The URI should also identify the collection use, but appending a `collection` path component such as `mongodb://host:port/db/collection`, this ensures that the collection will be maintained if cloned. See [Mongo::Client options](https://docs.mongodb.org/ecosystem/tutorial/ruby-driver-tutorial-2-0/#uri-options-conversions) for more information on Mongo URIs.
126
126
#
127
-
# @overload initialize(options = {}, &block)
127
+
# @overload initialize(**options, &block)
128
128
# @param [Hash{Symbol => Object}] options
129
129
# See [Mongo::Client options](https://docs.mongodb.org/ecosystem/tutorial/ruby-driver-tutorial-2-0/#uri-options-conversions) for more information on Mongo Client options.
130
130
# @option options [String, #to_s] :title (nil)
@@ -136,7 +136,7 @@ class Repository < ::RDF::Repository
0 commit comments