Rails
Ruby 2.5.0
6.1
6.0
5.2
5.1
5.0
4.2
2.6.0
2.7.0
3.0
instance method Gem::CommandManager#[]
self[command_name] -> Gem::Command | nil
[
permalink
][
rdoc
][
edit
]
引数で指定されたコマンド名に対応するクラスのインスタンスを返します。
[PARAM] command_name:
コマンド名を文字列で指定します。