このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

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

instance method Gem::Specification#default_executable

default_executable -> String | nil[permalink][rdoc]

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