diff options
author | MSP-Greg <MSP-Greg@users.noreply.github.com> | 2022-12-13 13:57:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 08:57:38 +1300 |
commit | 74995162fc5d530e1a7a91b9f5c11a3b270f7f5f (patch) | |
tree | bf602e7af2b6e2df26052400acac56e2b9d4cf70 | |
parent | 1859784422ca7f19710bbfb1b12b46fdd8ecf3cb (diff) | |
download | ruby-74995162fc5d530e1a7a91b9f5c11a3b270f7f5f.tar.gz |
socket.rb - don't load io/wait (#6922)
See d2166c09b08fc1 and #6036 for more context.
-rw-r--r-- | ext/socket/lib/socket.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb index 6196638bd2..6e1e78b809 100644 --- a/ext/socket/lib/socket.rb +++ b/ext/socket/lib/socket.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'socket.so' -require 'io/wait' +require 'io/wait' unless ::IO.public_instance_methods(false).include? :wait_readable class Addrinfo # creates an Addrinfo object from the arguments. |