Method: Bundler::SourceList#add_git_source

Defined in:
lib/bundler/source_list.rb

#add_git_source(options = {}) ⇒ Object



54
55
56
57
58
# File 'lib/bundler/source_list.rb', line 54

def add_git_source(options = {})
  add_source_to_list(Source::Git.new(options), git_sources).tap do |source|
    warn_on_git_protocol(source)
  end
end