method

no_proxy?

ruby latest stable - Class: Gem::Request

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

no_proxy?(host)
public

No documentation available.

# File lib/rubygems/request.rb, line 235
  def no_proxy? host
    host = host.downcase
    @env_no_proxy.each do |pattern|
      pattern = pattern.downcase
      return true if host[-pattern.length, pattern.length ] == pattern
    end
    return false
  end