method

validate!

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

Method not available on this version

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

validate!(probe = nil)
public

No documentation available.

# File lib/bundler/mirror.rb, line 104
      def validate!(probe = nil)
        @valid = false if uri.nil?
        if @valid.nil?
          @valid = fallback_timeout == 0 || (probe || TCPSocketProbe.new).replies?(self)
        end
        self
      end