method
validate!
v2_6_3 -
Show latest stable
- Class:
Bundler::Settings::Mirror
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