stdlib/socket/0/unix_socket.rbs in rbs-3.3.2 vs stdlib/socket/0/unix_socket.rbs in rbs-3.4.0.pre.1
- old
+ new
@@ -7,11 +7,11 @@
# - UNIXSocket.pair([type [, protocol]]) => [unixsocket1, unixsocket2]
# - UNIXSocket.socketpair([type [, protocol]]) => [unixsocket1, unixsocket2]
# -->
# Creates a pair of sockets connected to each other.
#
- # *socktype* should be a socket type such as: :STREAM, :DGRAM, :RAW, etc.
+ # *type* should be a socket type such as: :STREAM, :DGRAM, :RAW, etc.
#
# *protocol* should be a protocol defined in the domain. 0 is default protocol
# for the domain.
#
# s1, s2 = UNIXSocket.pair
@@ -26,10 +26,10 @@
# - UNIXSocket.pair([type [, protocol]]) => [unixsocket1, unixsocket2]
# - UNIXSocket.socketpair([type [, protocol]]) => [unixsocket1, unixsocket2]
# -->
# Creates a pair of sockets connected to each other.
#
- # *socktype* should be a socket type such as: :STREAM, :DGRAM, :RAW, etc.
+ # *type* should be a socket type such as: :STREAM, :DGRAM, :RAW, etc.
#
# *protocol* should be a protocol defined in the domain. 0 is default protocol
# for the domain.
#
# s1, s2 = UNIXSocket.pair