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

instance method Gem::Specification#default_executable

default_executable -> String | nilRuby 1.9.3 から[permalink][rdoc][edit]

Gem パッケージ内で gem コマンド経由で実行するファイルを返します。