Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > rubygems/commands/dependency_commandライブラリ > Gem::Commands::DependencyCommandクラス > print_dependencies

instance method Gem::Commands::DependencyCommand#print_dependencies

print_dependencies(spec, level = 0) -> String[permalink][rdoc]

依存関係を表す文字列を返します。

[PARAM] spec:
Gem::Specification のインスタンスを指定します。
[PARAM] level:
依存関係の深さを指定します。