るりまサーチ

最速Rubyリファレンスマニュアル検索!
120件ヒット [101-120件を表示] (0.078秒)

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. rsa p
  5. dsa p=

ライブラリ

クラス

キーワード

検索結果

<< < 1 2 >>

File.pipe?(path) -> bool (12218.0)

FileTest.#pipe? と同じです。

...FileTest.#pipe? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

IO.select(reads, writes = [], excepts = [], timeout = nil) -> [[IO]] | nil (107.0)

select(2) を実行します。

...nil を返します。

@param reads 入力待ちする IO オブジェクトの配列を渡します。

@param writes 出力待ちする IO オブジェクトの配列を渡します。

@param excepts 例外待ちする IO オブジェクトの配列を渡します。

@param timeout タイムア...
...敗した場合に発生します。

rp, wp = IO.pipe
mesg = "ping "
100.times{
rs, ws, = IO.select([rp], [wp])
if r = rs[0]
ret = r.read(5)
p
rint ret
case ret
when /ping/
mesg = "pong\n"
when /pong/
mesg = "ping "
end
end
if w = ws[0]...
<< < 1 2 >>