instance method
Gem::RemoteFetcher#fetch_file
fetch_file(uri, *_)
lib/rubygems/remote_fetcher.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/remote_fetcher.rb, line 205
def fetch_file(uri, *_)
Gem.read_binary Gem::Util.correct_for_windows_path uri.path
end
File Fetcher. Dispatched by fetch_path. Use it instead.
See also
#download_to_cache
#fetch_http
#download
#fetch_https
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0