Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

Gem::RemoteFetcher#cache_update_path

cache_update_path(uri, path = nil, update = true)

Downloads uri to path if necessary. If no path is given, it just passes the data.

See also #atomic_copy #close_all .new #download also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0