lib/mongo/socket/unix.rb in mongo-2.9.2 vs lib/mongo/socket/unix.rb in mongo-2.10.0.rc0
- old
+ new
@@ -21,9 +21,12 @@
class Unix < Socket
# @return [ String ] path The path to connect to.
attr_reader :path
+ # @return [ Float ] timeout The socket timeout.
+ attr_reader :timeout
+
# Initializes a new Unix socket.
#
# @example Create the Unix socket.
# Unix.new('/path/to.sock', 5)
#