Skip to content

Commit 6602279

Browse files
committed
Newlines at the end of files
1 parent ce6b4c7 commit 6602279

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed

examples/aggregate.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
results.each do |result|
2424
puts result
25-
end
25+
end

examples/create.rb

-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@
2727
})
2828

2929
result.n #=> returns 1, because 1 document was inserted.
30-

examples/delete.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
# Drop a collection
1414

15-
client[:restaurants].drop
15+
client[:restaurants].drop

examples/index.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
result = client[:restaurants].indexes.create(cuisine: Mongo::Index::ASCENDING)
33

44
# Create a compound index
5-
result = client[:restaurants].indexes.create(cuisine: 1, zipcode: Mongo::Index::DESCENDING)
5+
result = client[:restaurants].indexes.create(cuisine: 1, zipcode: Mongo::Index::DESCENDING)

examples/query.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@
8181

8282
cursor.each do |doc|
8383
puts doc
84-
end
84+
end

examples/update.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
'street' => '2 Avenue',
2323
'zipcode' => '10075'
2424
}
25-
)
25+
)

0 commit comments

Comments
 (0)