Ruby 4.1 リファレンスマニュアル

instance method Gem::Dependency#matching_specs

matching_specs(platform_only = false) -> [Gem::Specification]Ruby 1.9.3 から[permalink][rdoc][edit]

self の Gem::Dependency#name と Gem::Dependency#requirement を満たす、インストール済みの Gem::Specification を配列で返します。

platform_only に true を指定すると、さらに現在のプラットフォームにインストール可能なものだけに絞り込みます。無効化された(ignored? な)スペックは結果に含まれません。

[PARAM] platform_only:
true を指定すると、現在のプラットフォームにインストール可能なスペックだけに絞り込みます。