method
new
v2_6_3 -
Show latest stable
- Class:
Bundler::Source::Rubygems
new(options = {})public
No documentation available.
# File lib/bundler/source/rubygems.rb, line 18
def initialize(options = {})
@options = options
@remotes = []
@dependency_names = []
@allow_remote = false
@allow_cached = false
@caches = [cache_path, *Bundler.rubygems.gem_cache]
Array(options["remotes"] || []).reverse_each {|r| add_remote(r) }
end