lib/mongo/uri/options_mapper.rb
# Parses a boolean value and returns its inverse.
#
# @param [ String ] name Name of the URI option being processed.
# @param value [ String ] The URI option value.
#
# @return [ true | false | nil ] The inverse of the  boolean value parsed out, otherwise nil
#   (and a warning will be logged).
Parses a boolean value and returns its inverse.
Parses a boolean value and returns its inverse .
def convert_inverse_bool(name, value)
        b = convert_bool(name, value)
        if b.nil?
          nil
        else
          !b
        end
      end
def convert_inverse_bool ( name , value ) b = convert_bool ( name , value ) if b . nil? nil else ! b end end
Parses a boolean value and returns its inverse.
Parses a boolean value and returns its inverse .
The inverse of the boolean value parsed out, otherwise nil (and a warning will be logged).
The inverse of the boolean value parsed out otherwise nil ( and a warning will be logged ) .
 true | false | nil 
name
value
The URI option value.
The URI option value .
name Name of the URI option being processed.
name Name of the URI option being processed .