36件ヒット
[1-36件を表示]
(0.357秒)
ライブラリ
-
irb
/ extend-command (36)
モジュール
-
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (12)
検索結果
先頭3件
-
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (33202.0) -
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。
...IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。
@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (27202.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...execute メソッドとして定
義してある必要があります。
@param cmd_class 指定した拡張が定義されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendComma......す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定します。... -
IRB
:: ContextExtender . install _ extend _ commands -> object (15107.0) -
定義済みの拡張を読み込みます。
...::Context で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExtender.def_extend_...