407件ヒット
[1-100件を表示]
(0.167秒)
ライブラリ
- ビルトイン (154)
-
drb
/ extservm (11) - fileutils (11)
-
irb
/ cmd / nop (22) -
irb
/ extend-command (66) -
rubygems
/ command (55) -
rubygems
/ command _ manager (11) -
rubygems
/ ext / builder (11) - shell (18)
-
shell
/ command-processor (48)
クラス
-
DRb
:: ExtServManager (11) -
Gem
:: Command (55) -
Gem
:: CommandManager (11) -
Gem
:: Ext :: Builder (11) - IO (154)
-
IRB
:: ExtendCommand :: Nop (22) - Shell (18)
-
Shell
:: CommandProcessor (48)
モジュール
- FileUtils (11)
-
IRB
:: ContextExtender (22) -
IRB
:: ExtendCommandBundle (44)
キーワード
-
add
_ common _ option (11) -
add
_ delegate _ command _ to _ shell (6) -
add
_ specific _ extra _ args (11) -
alias
_ command (18) - commands (11)
-
def
_ builtin _ commands (6) -
def
_ extend _ command (22) -
def
_ system _ command (6) - execute (11)
-
extend
_ object (11) - initialize (6)
-
install
_ builtin _ commands (6) -
install
_ extend _ commands (22) -
install
_ system _ commands (12) - instance (11)
-
irb
_ original _ method _ name (11) -
method
_ added (6) - new (11)
- popen (154)
- run (11)
-
specific
_ extra _ args (11) -
specific
_ extra _ args _ hash (11)
検索結果
先頭5件
- IRB
:: ContextExtender . install _ extend _ commands -> object - IRB
:: ExtendCommandBundle . install _ extend _ commands -> object - IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object - IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object - IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String
-
IRB
:: ContextExtender . install _ extend _ commands -> object (47313.0) -
定義済みの拡張を読み込みます。
...す。
IRB::Context で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExtender.......def_extend_command... -
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (44307.0) -
定義済みの拡張を読み込みます。
...
irb で以下のメソッドが利用できるようになります。(それぞれ 1 つだけ抜粋)
* irb_current_working_workspace
* irb_change_workspace
* irb_workspaces
* 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_commands... -
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (44302.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 の別名を Symbol で指定します。複数指定する事ができます。... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (41402.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...
irb に cmd_name で指定したメソッドが実行できるように拡張します。
@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があ......されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand 以下で定義
する必要があります。
@param load_file 指定したメソッドが定義されたファ......require されます。
@param aliases cmd_name の別名を Symbol とフラグの配列で指定しま
す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY... -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (38301.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
...method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method... -
IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle (35401.0) -
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを obj に定義します。
...
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを
obj に定義します。
@param obj IRB::ExtendCommandBundle を extend したオブジェクト... -
IRB
:: ExtendCommand :: Nop . execute(conf , *opts) -> () (35101.0) -
コマンドを実行します。ユーザが直接使用するものではありません。
...コマンドを実行します。ユーザが直接使用するものではありません。
@param conf IRB::Context オブジェクトを指定します。
@param opts irb 中でコマンドに渡す引数を指定します。... -
IRB
:: ExtendCommand :: Nop . new(conf) -> IRB :: ExtendCommand :: Nop (29301.0) -
自身を初期化します。ユーザが直接使用するものではありません。
...自身を初期化します。ユーザが直接使用するものではありません。
@param conf IRB::Context オブジェクトを指定します。... -
Shell
:: CommandProcessor . install _ builtin _ commands -> () (27401.0) -
ビルトインコマンドを定義します。
ビルトインコマンドを定義します。 -
IO
. popen([env = {} , [cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO (23309.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通......成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
# =>......"foo\n"
opt でプロセス起動のためのオプションや、パイプ IO オブジェクトの属性(エンコーディングや
読み書き能力)を指定することができます。
プロセス起動のためのオプションは Kernel.#spawn と、
パイプオブジェクトの属...