Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > rubygems/source_indexライブラリ > Gem::SourceIndexクラス > add_specs

instance method Gem::SourceIndex#add_specs

add_specs(*gem_specs) -> Hash

自身に引数で与えられた Gem::Specification のインスタンスを全て追加します。

[PARAM] gem_specs:
複数の Gem::Specification のインスタンスを指定します。
class Gem::SourceIndex