Permalink
Browse files

minor: fixing deprecation notice in the docs

  • Loading branch information...
1 parent 8e9f990 commit 496b7dd5e4fb5ad3ab51b2e08a7932c7ac54d23d @brandonblack brandonblack committed Mar 19, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/mongo/db.rb
View
@@ -29,8 +29,7 @@ class DB
#
# Strict mode is disabled by default, but enabled (+true+) at any time.
#
- # @deprecated Support for strict mode has been deprecated and will be
- # removed in version 2.0 of the driver.
+ # @deprecated Support for strict will be removed in version 2.0 of the driver.
def strict=(value)
unless ENV['TEST_MODE']
warn "Support for strict mode has been deprecated and will be " +
@@ -41,8 +40,7 @@ def strict=(value)
# Returns the value of the +strict+ flag.
#
- # @deprecated Support for strict mode has been deprecated and will be
- # removed in version 2.0 of the driver.
+ # @deprecated Support for strict will be removed in version 2.0 of the driver.
def strict?
@strict
end

0 comments on commit 496b7dd

Please sign in to comment.