@@ -110,7 +110,7 @@ to print the results:
110110To query for only the names of the collections in the database, call the
111111``collection_names`` method as follows:
112112
113- .. literalinclude:: ncludes /usage-examples/databases-collection.rb
113+ .. literalinclude:: /includes /usage-examples/databases-collection.rb
114114 :language: ruby
115115 :dedent:
116116 :start-after: start-get-list-names
@@ -158,10 +158,10 @@ By default, databases inherit these settings from the ``Mongo::Client`` instance
158158and collections inherit them from the database. However, you can change these
159159settings on your database or collection by using one of the following methods:
160160
161- - ``database.with``: Gets the database and applies the new read preference, read
162- concern, and write concern.
163- - ``collection.with``: Gets the collection and applies the new read preference,
164- read concern, and write concern.
161+ - ``database.with``: Gets the database and applies the new read preference, read
162+ concern, and write concern.
163+ - ``collection.with``: Gets the collection and applies the new read preference,
164+ read concern, and write concern.
165165
166166To change read or write settings with the preceding methods, call the method and
167167pass in the new read preference, read concern, or write concern.
@@ -179,7 +179,7 @@ method:
179179The following example shows how to change the read preference, read concern, and
180180write concern of a collection:
181181
182- .. literalinclude:: ncludes /usage-examples/databases-collection.rb
182+ .. literalinclude:: /includes /usage-examples/databases-collection.rb
183183 :language: ruby
184184 :dedent:
185185 :start-after: start-with-collection
@@ -207,7 +207,7 @@ In the following code example, the tag set passed to the ``:read`` parameter
207207instructs the {+driver-short+} to prefer reads from the New York data center
208208(``'dc':'ny'``) and to fall back to the San Francisco data center (``'dc':'sf'``):
209209
210- .. literalinclude:: includes/usage-examples/databases-collection.rb
210+ .. literalinclude:: / includes/usage-examples/databases-collection.rb
211211 :language: ruby
212212 :dedent:
213213 :start-after: start-tag-sets
0 commit comments