Skip to content

Commit 496b7dd

Browse files
author
Brandon Black
committed
minor: fixing deprecation notice in the docs
1 parent 8e9f990 commit 496b7dd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/mongo/db.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ class DB
2929
#
3030
# Strict mode is disabled by default, but enabled (+true+) at any time.
3131
#
32-
# @deprecated Support for strict mode has been deprecated and will be
33-
# removed in version 2.0 of the driver.
32+
# @deprecated Support for strict will be removed in version 2.0 of the driver.
3433
def strict=(value)
3534
unless ENV['TEST_MODE']
3635
warn "Support for strict mode has been deprecated and will be " +
@@ -41,8 +40,7 @@ def strict=(value)
4140

4241
# Returns the value of the +strict+ flag.
4342
#
44-
# @deprecated Support for strict mode has been deprecated and will be
45-
# removed in version 2.0 of the driver.
43+
# @deprecated Support for strict will be removed in version 2.0 of the driver.
4644
def strict?
4745
@strict
4846
end

0 commit comments

Comments
 (0)