Skip to content

Commit

Permalink
minor: fixing deprecation notice in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Black committed Mar 19, 2013
1 parent 8e9f990 commit 496b7dd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/mongo/db.rb
Expand Up @@ -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 " +
Expand All @@ -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
Expand Down

0 comments on commit 496b7dd

Please sign in to comment.