class Bundler::Plugin::SourceList
公共实例方法
add_git_source(options = {}) 点击切换源码
# File 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_path_source(options = {}) 点击切换源码
# File bundler/plugin/source_list.rb, line 12 def add_path_source(options = {}) add_source_to_list Plugin::Installer::Path.new(options), path_sources end
add_rubygems_source(options = {}) 点击切换源码
# File bundler/plugin/source_list.rb, line 16 def add_rubygems_source(options = {}) add_source_to_list Plugin::Installer::Rubygems.new(options), @rubygems_sources end
all_sources() 点击切换源码
# File bundler/plugin/source_list.rb, line 20 def all_sources path_sources + git_sources + rubygems_sources + [metadata_source] end
私有实例方法
rubygems_aggregate_class() 点击切换源码
# File bundler/plugin/source_list.rb, line 26 def rubygems_aggregate_class Plugin::Installer::Rubygems end