6件ヒット
[1-6件を表示]
(0.004秒)
モジュール
キーワード
検索結果
先頭5件
- IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object - IRB
:: ContextExtender . install _ extend _ commands -> object - IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object - IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle - IRB
:: ExtendCommandBundle . install _ extend _ commands -> object
-
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (10.0) -
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。
@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要があります。
@param load_file cmd_name で指定したメソッドが定義されたファイル名を指
定します。このファイルは自動的に require されます。
@param aliases cmd_name の別名を Symb... -
IRB
:: ContextExtender . install _ extend _ commands -> object (10.0) -
定義済みの拡張を読み込みます。
...で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExtender.def_extend_command... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (10.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
irb に cmd_name で指定したメソッドが実行できるように拡張します。
@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があります。
@param cmd_class 指定した拡張が定義されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand ... -
IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle (10.0) -
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを obj に定義します。
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを
obj に定義します。
@param obj IRB::ExtendCommandBundle を extend したオブジェクト -
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (10.0) -
定義済みの拡張を読み込みます。
...ces
* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb_kill
* irb_help
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ExtendCommandBundle.install_extend_command... -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (10.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method