lib/mongo/server/connection_pool.rb
# Asserts that the pool has not been closed.
#
# @raise [ Error::PoolClosedError ] If the pool has been closed.
#
# @since 2.9.0
Asserts that the pool has not been closed.
Asserts that the pool has not been closed .
def raise_if_closed!
        if closed?
          raise Error::PoolClosedError.new(@server.address, self)
        end
      end
def raise_if_closed! if closed? raise Error :: PoolClosedError . new ( @server . address , self ) end end
Asserts that the pool has not been closed.
Asserts that the pool has not been closed .
[ Error::PoolClosedError ] If the pool has been closed.
[ Error :: PoolClosedError ] If the pool has been closed .
since
None