W3cubDocs

/Ruby 2.7

class Bundler::Plugin::SourceList

Parent:
Bundler::SourceList

Public Instance Methods

add_git_source(options = {}) Show source
# File lib/bundler/plugin/source_list.rb, line 8
def add_git_source(options = {})
  add_source_to_list Plugin::Installer::Git.new(options), git_sources
end
add_rubygems_source(options = {}) Show source
# File lib/bundler/plugin/source_list.rb, line 12
def add_rubygems_source(options = {})
  add_source_to_list Plugin::Installer::Rubygems.new(options), @rubygems_sources
end
all_sources() Show source
# File lib/bundler/plugin/source_list.rb, line 16
def all_sources
  path_sources + git_sources + rubygems_sources + [metadata_source]
end

Private Instance Methods

rubygems_aggregate_class() Show source
# File lib/bundler/plugin/source_list.rb, line 22
def rubygems_aggregate_class
  Plugin::Installer::Rubygems
end

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.