method
bundle_worker
v2_6_3 -
Show latest stable
- Class:
Bundler::Fetcher::CompactIndex
bundle_worker(func = nil)private
No documentation available.
# File lib/bundler/fetcher/compact_index.rb, line 97
def bundle_worker(func = nil)
@bundle_worker ||= begin
worker_name = "Compact Index (#{display_uri.host})"
Bundler::Worker.new(Bundler.current_ruby.rbx? ? 1 : 25, worker_name, func)
end
@bundle_worker.tap do |worker|
worker.instance_variable_set(:@func, func) if func
end
end