55件ヒット
[1-55件を表示]
(0.043秒)
種類
- インスタンスメソッド (44)
- 特異メソッド (11)
ライブラリ
-
irb
/ cmd / help (11) -
irb
/ cmd / load (33) -
irb
/ extend-command (11)
クラス
モジュール
検索結果
先頭5件
- IRB
:: ExtendCommand :: Require # execute(file _ name) -> bool - IRB
:: ExtendCommand :: Load # execute(file _ name , priv = nil) -> nil - IRB
:: ExtendCommand :: Source # execute(file _ name) -> nil - IRB
:: ExtendCommand :: Help # execute(*names) -> nil - IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object
-
IRB
:: ExtendCommand :: Require # execute(file _ name) -> bool (18236.0) -
ファイル file_name を現在の irb インタプリタ上で実行します。
...ファイル file_name を現在の irb インタプリタ上で実行します。
file_name に Ruby スクリプトを指定した場合は、Kernel.#require と異
なり、file_name の内容を irb で一行ずつタイプしたかのように、irb 上で一
行ずつ評価されます。req......uire に成功した場合は true を、そうでない場合は
false を返します。
拡張ライブラリ(*.so,*.o,*.dll など)を指定した場合は単純に require され
ます。
@param file_name ファイル名を文字列で指定します。... -
IRB
:: ExtendCommand :: Load # execute(file _ name , priv = nil) -> nil (18208.0) -
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実 行します。
...load と異なり、path の内容を irb で一行ずつタイプしたかの
ように、irb 上で一行ずつ評価されます。
@param file_name ファイル名を文字列で指定します。
@param priv 真を指定した場合は実行は内部的に生成される無名モジュール... -
IRB
:: ExtendCommand :: Source # execute(file _ name) -> nil (18208.0) -
現在の irb インタプリタ上で、 Ruby スクリプト path を評価します。
...y スクリプト path を評価します。
path の内容を irb で一行ずつタイプしたかのように、irb 上で一行ずつ評価
されます。$" は更新されず、何度でも実行し直す事ができます。
@param file_name ファイル名を文字列で指定します。... -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (18207.0) -
RI から Ruby のドキュメントを参照します。
...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 up.
You can use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
-----... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (135.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...irb に cmd_name で指定したメソッドが実行できるように拡張します。
@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があ......定義されたファイル名を指
定します。このファイルは自動的に require されます。
@param aliases cmd_name の別名を Symbol とフラグの配列で指定しま
す。複数指定する事ができます。フラグは
IRB...