このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

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

instance method Gem::Specification#dependent_specs

dependent_specs -> [Gem::Specification]Ruby 1.9.3 から[permalink][rdoc][edit]

self の RUNTIME 依存性を満たす仕様書をまとめて返します。

例
spec = Gem::Specification.new { |s| s.name = "rfoo"; s.version = "1.0" }
p spec.dependent_specs   # => []

[SEE_ALSO] Gem::Specification#dependencies, Gem::Specification#runtime_dependencies