Ruby 2.3.0 リファレンスマニュアル > ライブラリ一覧 > rubygems/installerライブラリ > Gem::Installerクラス > spec

instance method Gem::Installer#spec

spec -> Gem::Specification[permalink][rdoc]

インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。