class Gem::Commands::DependencyCommand
クラスの継承リスト: Gem::Commands::DependencyCommand < Gem::LocalRemoteOptions < Gem::VersionOption < Gem::Command < Gem::UserInteraction < Gem::DefaultUserInteraction < Object < Kernel < BasicObject
要約
インストールされている Gem パッケージの依存関係を表示するためのクラスです。
インスタンスメソッド
arguments -> String
-
引数の説明を表す文字列を返します。
execute -> ()
-
コマンドを実行します。
find_gems(name, source_index) -> Hash
-
与えられた Gem の名前をインデックスから検索します。
- [PARAM] name:
- Gem の名前を指定します。
- [PARAM] source_index:
- Gem::SourceIndex のインスタンスを指定します。
[SEE_ALSO] Gem::SourceIndex#search
find_reverse_dependencies(spec) -> Array
-
与えられた Gem スペックに依存する Gem のリストを返します。
- [PARAM] spec:
- Gem::Specification のインスタンスを指定します。
print_dependencies(spec, level = 0) -> String
-
依存関係を表す文字列を返します。
- [PARAM] spec:
- Gem::Specification のインスタンスを指定します。
- [PARAM] level:
- 依存関係の深さを指定します。
usage -> String
-
使用方法を表す文字列を返します。
class Gem::Commands::DependencyCommand