Class: Bundler::Fetcher
- Inherits:
-
Object
- Object
- Bundler::Fetcher
- Defined in:
- lib/bundler-pgs/bundler_patch.rb
Instance Method Summary collapse
-
#initialize(remote_uri) ⇒ Fetcher
constructor
A new instance of Fetcher.
- #orig_initialize ⇒ Object
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_initialize ⇒ Object
21 |
# File 'lib/bundler-pgs/bundler_patch.rb', line 21 alias_method :orig_initialize, :initialize |