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

instance method Gem::Installer#installation_satisfies_dependency?

installation_satisfies_dependency?(dependency) -> bool[permalink][rdoc]

登録されているソースインデックスが与えられた依存関係を満たすことができる場合は、真を返します。そうでない場合は偽を返します。

[PARAM] dependency:
Gem::Dependency のインスタンスを指定します。