123456789_123456789_123456789_123456789_123456789_

Class: Bundler::Fetcher::GemRemoteFetcher

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Gem::RemoteFetcher
Instance Chain:
self, Gem::RemoteFetcher
Inherits: Gem::RemoteFetcher
  • Object
Defined in: lib/bundler/fetcher/gem_remote_fetcher.rb

Instance Method Summary

Instance Method Details

#request(*args)

[ GitHub ]

  
# File 'lib/bundler/fetcher/gem_remote_fetcher.rb', line 8

def request(*args)
  super do |req|
    req.delete("User-Agent") if headers["User-Agent"]
    yield req if block_given?
  end
end