Method: Bundler::Index#add

Defined in:
lib/bundler/index.rb

#add(spec) ⇒ Object Also known as: <<

[View source]

81
82
83
# File 'lib/bundler/index.rb', line 81

def add(spec)
  (@specs[spec.name] ||= {}).store(spec.full_name, spec)
end