Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > rubygems/installerライブラリ > Gem::Installerクラス > shebang

instance method Gem::Installer#shebang

shebang(bin_file_name) -> String

実行ファイル内で使用する shebang line (#! line) を表す文字列を返します。

[PARAM] bin_file_name:
実行ファイルの名前を指定します。
class Gem::Installer