Class: Bundler::Fetcher

Inherits:
Object
  • Object
show all
Defined in:
lib/bundler-pgs/bundler_patch.rb

Instance Method Summary collapse

Constructor Details

#initialize(remote_uri) ⇒ Fetcher

Returns a new instance of Fetcher.



23
24
25
26
# File 'lib/bundler-pgs/bundler_patch.rb', line 23

def initialize(remote_uri)
  new_uri = ::BundlerPatch::UriResolver.resolve(remote_uri)
  orig_initialize(new_uri)
end

Instance Method Details

#orig_initializeObject



21
# File 'lib/bundler-pgs/bundler_patch.rb', line 21

alias_method :orig_initialize, :initialize