55件ヒット
[1-55件を表示]
(0.027秒)
種類
- インスタンスメソッド (44)
- 特異メソッド (11)
ライブラリ
-
irb
/ cmd / help (11) -
irb
/ cmd / load (22) -
irb
/ ext / use-loader (11) -
irb
/ extend-command (11)
クラス
モジュール
キーワード
-
def
_ extend _ command (11) -
irb
_ load (11)
検索結果
先頭5件
- IRB
:: ExtendCommand :: Load # execute(file _ name , priv = nil) -> nil - IRB
:: ExtendCommand :: Help # execute(*names) -> nil - IRB
:: ExtendCommand :: Source # execute(file _ name) -> nil - IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object - IRB
:: ExtendCommandBundle # irb _ load(*opts , &b) -> nil
-
IRB
:: ExtendCommand :: Load # execute(file _ name , priv = nil) -> nil (21303.0) -
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実 行します。
ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実
行します。
Kernel.#load と異なり、path の内容を irb で一行ずつタイプしたかの
ように、irb 上で一行ずつ評価されます。
@param file_name ファイル名を文字列で指定します。
@param priv 真を指定した場合は実行は内部的に生成される無名モジュール上
で行われ、グローバルな名前空間を汚染しません。
@raise LoadError 読み込みに失敗した場合に発生します。 -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (21214.0) -
RI から Ruby のドキュメントを参照します。
...an use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
------------------------------------------------------------------------------
str.match(pattern) -> matchdata or nil
str.match(pattern, pos) -> matchdata or nil
...... -
IRB
:: ExtendCommand :: Source # execute(file _ name) -> nil (21202.0) -
現在の irb インタプリタ上で、 Ruby スクリプト path を評価します。
現在の irb インタプリタ上で、 Ruby スクリプト path を評価します。
path の内容を irb で一行ずつタイプしたかのように、irb 上で一行ずつ評価
されます。$" は更新されず、何度でも実行し直す事ができます。
@param file_name ファイル名を文字列で指定します。 -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (9207.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...の execute メソッドとして定
義してある必要があります。
@param cmd_class 指定した拡張が定義されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCo......す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定します。... -
IRB
:: ExtendCommandBundle # irb _ load(*opts , &b) -> nil (3107.0) -
現在の irb に関する IRB::Context に対して irb_load コマンドを実行 します。
...現在の irb に関する IRB::Context に対して irb_load コマンドを実行
します。
@see IRB::ExtendCommand::Load#execute...