447件ヒット
[401-447件を表示]
(0.053秒)
種類
- インスタンスメソッド (270)
- 特異メソッド (136)
- モジュール関数 (30)
- 文書 (11)
ライブラリ
- ビルトイン (150)
-
cgi
/ core (22) - expect (22)
-
irb
/ context (11) - openssl (22)
-
rexml
/ document (121) -
rubygems
/ source _ index (11) - shell (15)
- stringio (11)
- thread (2)
- timeout (27)
- tracer (11)
- zlib (11)
クラス
-
ARGF
. class (9) - CGI (22)
-
Gem
:: SourceIndex (11) - IO (132)
-
IRB
:: Context (11) - Mutex (2)
-
OpenSSL
:: SSL :: SSLContext (22) -
REXML
:: AttlistDecl (11) -
REXML
:: Attribute (11) -
REXML
:: Declaration (11) -
REXML
:: DocType (11) -
REXML
:: Document (22) -
REXML
:: Element (11) -
REXML
:: Entity (11) -
REXML
:: ExternalEntity (11) -
REXML
:: Formatters :: Default (11) -
REXML
:: NotationDecl (11) - Shell (15)
- StringIO (11)
-
Thread
:: ConditionVariable (11) -
Thread
:: Mutex (9) - Tracer (11)
-
Zlib
:: ZStream (11)
キーワード
- Ruby用語集 (11)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ lock (6) -
debug
_ output _ unlock (6) - expect (22)
-
flush
_ next _ out (11) - header (11)
- new (11)
- outdated (11)
- popen (88)
-
read
_ nonblock (31) - select (22)
- sleep (11)
-
ssl
_ timeout (11) -
stdout
_ mutex (11) - timeout (38)
- wait (11)
- write (121)
検索結果
先頭5件
- IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO - IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) {|f| . . . } -> object - IO
. popen(env = {} , [cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO - IO
. popen(env = {} , [cmdname , *args , execopt={}] , mode = "r" , opt={}) {|f| . . . } -> object - Ruby用語集
-
IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO (230.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...は IO.new と共通です。
つまり、 :external_encoding や :unsetenv_others が指定できます。
オプションの詳しい意味は Kernel.#spawn や IO.new を参照してください。
# nkfプロセスから得られる文字列を EUC-JP と指定する
# IO.new などと共......のオプションが指定できる
IO.popen("nkf -e filename", external_encoding: "EUC-JP"){|nkf_io|
nkf_io.read
}
これに加えて、プロセス起動のためのオプションを execopt で指定することもできます。
execopt ではエンコーディングなどは指定......通のオプション
IO.popen(["ls", "/", :err=>[:child, :out]]) {|ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param... -
IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) {|f| . . . } -> object (230.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...は IO.new と共通です。
つまり、 :external_encoding や :unsetenv_others が指定できます。
オプションの詳しい意味は Kernel.#spawn や IO.new を参照してください。
# nkfプロセスから得られる文字列を EUC-JP と指定する
# IO.new などと共......のオプションが指定できる
IO.popen("nkf -e filename", external_encoding: "EUC-JP"){|nkf_io|
nkf_io.read
}
これに加えて、プロセス起動のためのオプションを execopt で指定することもできます。
execopt ではエンコーディングなどは指定......通のオプション
IO.popen(["ls", "/", :err=>[:child, :out]]) {|ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param... -
IO
. popen(env = {} , [cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO (230.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...は IO.new と共通です。
つまり、 :external_encoding や :unsetenv_others が指定できます。
オプションの詳しい意味は Kernel.#spawn や IO.new を参照してください。
# nkfプロセスから得られる文字列を EUC-JP と指定する
# IO.new などと共......のオプションが指定できる
IO.popen("nkf -e filename", external_encoding: "EUC-JP"){|nkf_io|
nkf_io.read
}
これに加えて、プロセス起動のためのオプションを execopt で指定することもできます。
execopt ではエンコーディングなどは指定......通のオプション
IO.popen(["ls", "/", :err=>[:child, :out]]) {|ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param... -
IO
. popen(env = {} , [cmdname , *args , execopt={}] , mode = "r" , opt={}) {|f| . . . } -> object (230.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...は IO.new と共通です。
つまり、 :external_encoding や :unsetenv_others が指定できます。
オプションの詳しい意味は Kernel.#spawn や IO.new を参照してください。
# nkfプロセスから得られる文字列を EUC-JP と指定する
# IO.new などと共......のオプションが指定できる
IO.popen("nkf -e filename", external_encoding: "EUC-JP"){|nkf_io|
nkf_io.read
}
これに加えて、プロセス起動のためのオプションを execopt で指定することもできます。
execopt ではエンコーディングなどは指定......通のオプション
IO.popen(["ls", "/", :err=>[:child, :out]]) {|ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param... -
Ruby用語集 (162.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...l#percent
: 0 オリジン
: zero-based
番号が 0 から始まること。
例えば、
Array や Vector、Matrix などの要素の番号、
String における文字の位置、
といったものは 0 オリジンである。
: 1 オリジン
: one-based
番号が 1 から始ま......い。
その名の通り、この部分にコードのドキュメントを記述することが
期待されている。
参照:d:spec/lexical#embed
: エイリアス
: alias
=別名
: エンコーディング
: encoding
何らかの情報を何らかの記号体系で表現す......った
見た目に関すること、変数・メソッドなどの命名方針、ファイルパスなど。
: コメントアウト
: comment out
コメント化。プログラムの一部分を(コメント化記号の挿入により)コメントにすること。
不要になった処...