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

instance method Gem::Command#command

command -> StringRuby 1.9.3 から[permalink][rdoc][edit]

コマンドの名前を返します。