Object
# File bundler/fetcher/base.rb, line 10 def initialize(downloader, remote, display_uri) raise "Abstract class" if self.class == Base @downloader = downloader @remote = remote @display_uri = display_uri end
# File bundler/fetcher/base.rb, line 37 def api_fetcher? false end
# File bundler/fetcher/base.rb, line 33 def available? true end
# File bundler/fetcher/base.rb, line 21 def fetch_uri @fetch_uri ||= begin if remote_uri.host == "rubygems.org" uri = remote_uri.dup uri.host = "index.rubygems.org" uri else remote_uri end end end
# File bundler/fetcher/base.rb, line 17 def remote_uri @remote.uri end
This page was generated for Ruby 2.7.0
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.2.