method

replies?

ruby latest stable - Class: Bundler::Settings::TCPSocketProbe

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

replies?(mirror)
public

No documentation available.

# File lib/bundler/mirror.rb, line 149
      def replies?(mirror)
        MirrorSockets.new(mirror).any? do |socket, address, timeout|
          begin
            socket.connect_nonblock(address)
          rescue Errno::EINPROGRESS
            wait_for_writtable_socket(socket, address, timeout)
          rescue RuntimeError # Connection failed somehow, again
            false
          end
        end
      end