ライブラリ
-
irb
/ cmd / chws (2) -
irb
/ cmd / help (1) -
irb
/ cmd / load (3) -
irb
/ cmd / nop (1) -
irb
/ cmd / pushws (3) -
irb
/ cmd / subirb (3) - mkmf (1)
- pathname (2)
-
rubygems
/ command (1) -
rubygems
/ specification (4) -
rubygems
/ uninstaller (1) - shell (2)
-
shell
/ command-processor (2) -
shell
/ filter (2)
クラス
-
Gem
:: Command (1) -
Gem
:: Specification (4) -
Gem
:: Uninstaller (1) -
IRB
:: ExtendCommand :: ChangeWorkspace (1) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (1) -
IRB
:: ExtendCommand :: Foreground (1) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: ExtendCommand :: IrbCommand (1) -
IRB
:: ExtendCommand :: Kill (1) -
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Nop (1) -
IRB
:: ExtendCommand :: PopWorkspace (1) -
IRB
:: ExtendCommand :: PushWorkspace (1) -
IRB
:: ExtendCommand :: Require (1) -
IRB
:: ExtendCommand :: Source (1) -
IRB
:: ExtendCommand :: Workspaces (1) - Pathname (2)
- Shell (2)
-
Shell
:: CommandProcessor (2) -
Shell
:: Filter (2)
モジュール
- Kernel (1)
キーワード
-
add
_ bindir (1) -
default
_ executable= (1) - executable= (1)
- executable? (4)
-
executable
_ real? (4) - executables= (1)
- execute (14)
-
find
_ executable (1) -
remove
_ executables (1)
検索結果
先頭5件
-
Gem
:: Specification # default _ executable=(executable) (18622.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
@param executable 実行ファイルを指定します。 -
Gem
:: Specification # executable=(executable) (18622.0) -
実行可能ファイル名をセットします。
実行可能ファイル名をセットします。
@param executable 実行可能ファイル名を指定します。 -
Gem
:: Specification # executables=(executables) (18622.0) -
実行可能ファイル名のリストをセットします。
実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。 -
IRB
:: ExtendCommand :: Load # execute(file _ name , priv = nil) -> nil (18358.0) -
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実 行します。
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実
行します。
Kernel.#load と異なり、path の内容を irb で一行ずつタイプしたかの
ように、irb 上で一行ずつ評価されます。
@param file_name ファイル名を文字列で指定します。
@param priv 真を指定した場合は実行は内部的に生成される無名モジュール上
で行われ、グローバルな名前空間を汚染しません。
@raise LoadError 読み込みに失敗した場合に発生します。 -
Kernel
# find _ executable(bin , path = nil) -> String | nil (18340.0) -
パス path から実行ファイル bin を探します。
パス path から実行ファイル bin を探します。
実行ファイルが見つかった場合は、そのフルパスを返します。
実行ファイルが見つからなかった場合は、nilを返します。
このメソッドは Makefile を変更しません。
@param bin 実行ファイルの名前を指定します。
@param path パスを指定します。デフォルトは環境変数 PATH です。
環境変数 PATH が定義されていない場合は /usr/local/bin,
/usr/ucb, /usr/bin, /bin を使います。 -
Shell
# executable?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable? -
Shell
# executable _ real?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: CommandProcessor # executable?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable? -
Shell
:: CommandProcessor # executable _ real?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: Filter # executable?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable? -
Shell
:: Filter # executable _ real?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Gem
:: Command # execute -> () (18322.0) -
このメソッドはサブクラスで再定義されます。 コマンドを実行します。
このメソッドはサブクラスで再定義されます。
コマンドを実行します。
@raise RuntimeError このメソッドがサブクラスで再定義されていない場合に発生します。 -
Gem
:: Uninstaller # remove _ executables(gemspec) (18322.0) -
与えられた Gem::Specification に対応する実行ファイルを削除します。
与えられた Gem::Specification に対応する実行ファイルを削除します。
@param gemspec アンインストール指定されている Gem の Gem::Specification を指定します。 -
IRB
:: ExtendCommand :: ChangeWorkspace # execute(*obj) -> obj (18322.0) -
irb の self を obj で指定したオブジェクトに設定します。self に設定され たオブジェクトを返します。
irb の self を obj で指定したオブジェクトに設定します。self に設定され
たオブジェクトを返します。
@param obj 任意のオブジェクトを指定できます。複数指定した場合は先頭のオ
ブジェクトのみが設定されます。 -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace # execute(*obj) -> obj (18322.0) -
irb の self を返します。
irb の self を返します。
@param obj 使用しません。 -
IRB
:: ExtendCommand :: Foreground # execute(*obj) -> IRB :: Irb (18322.0) -
指定したサブ irb に移動します。
指定したサブ irb に移動します。
@param obj 移動するサブ irb を識別する以下のいずれかのオブジェクトを指定します。
* irb インタプリタ番号
* irb オブジェクト
* スレッド ID
* 各インタプリタの self (「irb(obj)」で起動した時の obj) -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (18322.0) -
RI から Ruby のドキュメントを参照します。
RI から Ruby のドキュメントを参照します。
irb(main):001:0> help String#match
...
@param names 参照したいクラス名やメソッド名などを文字列で指定します。
names を指定しなかった場合は、RI を対話的なモードで起動します。メソッド
名などを入力する事でドキュメントの検索が行えます。入力のタブ補完をする
事ができます。また、空行を入力する事で irb のプロンプトに戻る事ができま
す。
irb(main):001:0> help
Enter the method name you want to look... -
IRB
:: ExtendCommand :: IrbCommand # execute(*obj) -> IRB :: Irb (18322.0) -
新しいサブ irb インタプリタを起動します。
新しいサブ irb インタプリタを起動します。
@param obj 新しいサブ irb インタプリタで self にするオブジェクトを指定
します。省略した場合は irb を起動したときの main オブジェク
トを self にします。 -
IRB
:: ExtendCommand :: Kill # execute(*obj) -> object (18322.0) -
指定したサブ irb を停止します。
指定したサブ irb を停止します。
@param obj 停止するサブ irb を識別する以下のいずれかのオブジェクトを指定します。
* irb インタプリタ番号
* irb オブジェクト
* スレッド ID
* 各インタプリタの self (「irb(obj)」で起動した時の obj) -
IRB
:: ExtendCommand :: Nop # execute(*opts) -> () (18322.0) -
何もしません。サブクラスでオーバーライドして使用します。
何もしません。サブクラスでオーバーライドして使用します。
@param opts irb 中でコマンドに渡す引数を指定します。 -
IRB
:: ExtendCommand :: PopWorkspace # execute(*obj) -> [IRB :: WorkSpace] (18322.0) -
UNIX シェルコマンドの popd と同じです。
UNIX シェルコマンドの popd と同じです。
@param obj 使用しません。 -
IRB
:: ExtendCommand :: PushWorkspace # execute(*obj) -> [IRB :: WorkSpace] (18322.0) -
UNIX シェルコマンドの pushd と同じです。
UNIX シェルコマンドの pushd と同じです。
@param obj IRB::WorkSpace オブジェクトを指定します。複数指定した
場合は先頭のオブジェクトのみが設定されます。 -
IRB
:: ExtendCommand :: Require # execute(file _ name) -> bool (18322.0) -
ファイル file_name を現在の irb インタプリタ上で実行します。
ファイル file_name を現在の irb インタプリタ上で実行します。
file_name に Ruby スクリプトを指定した場合は、Kernel.#require と異
なり、file_name の内容を irb で一行ずつタイプしたかのように、irb 上で一
行ずつ評価されます。require に成功した場合は true を、そうでない場合は
false を返します。
拡張ライブラリ(*.so,*.o,*.dll など)を指定した場合は単純に require され
ます。
@param file_name ファイル名を文字列で指定します。 -
IRB
:: ExtendCommand :: Source # execute(file _ name) -> nil (18322.0) -
現在の irb インタプリタ上で、 Ruby スクリプト path を評価します。
現在の irb インタプリタ上で、 Ruby スクリプト path を評価します。
path の内容を irb で一行ずつタイプしたかのように、irb 上で一行ずつ評価
されます。$" は更新されず、何度でも実行し直す事ができます。
@param file_name ファイル名を文字列で指定します。 -
IRB
:: ExtendCommand :: Workspaces # execute(*obj) -> [IRB :: WorkSpace] (18322.0) -
現在のワークスペースの一覧を返します。
現在のワークスペースの一覧を返します。
@param obj 使用しません。 -
Pathname
# executable? -> bool (18322.0) -
FileTest.executable?(self.to_s) と同じです。
FileTest.executable?(self.to_s) と同じです。
@see FileTest.#executable? -
Pathname
# executable _ real? -> bool (18322.0) -
FileTest.executable_real?(self.to_s) と同じです。
FileTest.executable_real?(self.to_s) と同じです。
@see FileTest.#executable_real? -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (322.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。