Flowdock
method

no_proxy?

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: ConnectionPools
no_proxy?(host, env_no_proxy) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/request/connection_pools.rb, line 53
  def no_proxy? host, env_no_proxy
    host = host.downcase

    env_no_proxy.any? do |pattern|
      pattern = pattern.downcase

      host[-pattern.length, pattern.length] == pattern or
        (pattern.start_with? '.' and pattern[1..-1] == host)
    end
  end
Register or log in to add new notes.