11件ヒット
[1-11件を表示]
(0.086秒)
トップページ > :Object#class > :to_regexp > :FALSE > :receiver > :NEWS for Ruby 2.5.0 > :IRB::ExtendCommandBundle
別のキーワード
ライブラリ
-
irb
/ extend-command (11)
検索結果
-
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (221.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があります。
@param cmd_class 指定した拡張が定義されたクラス名を Symbol、
String、Class のいずれかで指定しま......す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定します。...