method

new

ruby latest stable - Class: Bundler::Source::Rubygems

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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