るりまサーチ

最速Rubyリファレンスマニュアル検索!
180件ヒット [1-100件を表示] (0.099秒)
トップページ > クエリ:-[x] > クエリ:on[x] > クエリ:pipe[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 > >>

RDoc::Options#pipe -> bool (21217.0)

コマンドライン引数の --pipe オプションを指定していた場合、true を返しま す。そうでない場合は false を返します。

...コマンドライン引数の --pipe オプションを指定していた場合、true を返しま
す。そうでない場合は false を返します。...

Socket::Constants::SO_NOSIGPIPE -> Integer (9216.0)

Don't SIGPIPE on EPIPE。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Don't SIGPIPE on EPIPE
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see getsockopt(2freebsd), Socket::Constants::SOL_SOCKET...

IO#pathconf(name) -> Integer | nil (6218.0)

fpathconf(3) で取得したファイルの設定変数の値を返します。

...fpathconf(3) で取得したファイルの設定変数の値を返します。

引数 name が制限に関する設定値であり、設定が制限がない状態の場合は nil
を返します。(fpathconf(3) が -1 を返し、errno が設定されていない
場合)

@param name Etc モジ...
...ュールの PC_ で始まる定数のいずれかを指定します。

//emlist[][ruby]{
require 'etc'
IO.pipe {|r, w|
p w.pathconf(Etc::PC_PIPE_BUF) # => 4096
}
//}...

Socket::SO_NOSIGPIPE -> Integer (6216.0)

Don't SIGPIPE on EPIPE。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Don't SIGPIPE on EPIPE
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see getsockopt(2freebsd), Socket::Constants::SOL_SOCKET...

Etc::PC_MAX_CANON -> Integer (3201.0)

IO#pathconf の引数に指定します。

...IO#pathconf の引数に指定します。

詳細は fpathconf(3) を参照してください。...

絞り込み条件を変える

Etc::PC_TIMESTAMP_RESOLUTION -> Integer (3201.0)

IO#pathconf の引数に指定します。

...IO#pathconf の引数に指定します。

詳細は fpathconf(3) を参照してください。...

ruby 1.8.4 feature (1608.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...追加されたクラス/メソッドなど
* [compat]: 変更されたクラス/メソッドなど
* 互換性のある変更
* only backward-compatibility
* 影響の範囲が小さいと思われる変更もこちら
* [change]: 変更されたクラス/メソッドなど(...
...(<ruby 1.8.4 feature/File::Stat#pipe? [bug]>))
* ((<ruby 1.8.4 feature/Array#fill [bug]>))
* ((<ruby 1.8.4 feature/String#scan [bug]>))
* ((<ruby 1.8.4 feature/File.join [bug]>))
* ((<ruby 1.8.4 feature/Thread#pass [bug]>))
* ((<ruby 1.8.4 feature/Module#const_missing [bug]>))
* ((<ruby...
...ver#initialize [bug]>))
* ((<ruby 1.8.4 feature/"optparse">))
* ((<ruby 1.8.4 feature/"find">))
* ((<ruby 1.8.4 feature/Iconv>))
* ((<ruby 1.8.4 feature/WEBrick::Config::FileHandler [compat]>))
* ((<ruby 1.8.4 feature/WEBrick>))
* ((<ruby 1.8.4 feature/WEBrick::HTTPRequest#query_string=...

NEWS for Ruby 3.0.0 (372.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...Keyword arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now ma...
...] # and deprecation warning
# 3.0 => a=>1}, {}]
//}

* Arguments forwarding (`...`) now supports leading arguments.
16378

//emlist{
def method_missing(meth, ...)
send(:"do_#{meth}", ...)
end
//}

* Pattern matching (`case/in`) is no longer experimental. 17260
* One-line pattern matc...
...h consistently yields a 2-element array. 12706
* Now `{ a: 1 }.each(&->(k, v) { })` raises an ArgumentError due to lambda's arity check.
* When writing to STDOUT redirected to a closed pipe, no broken pipe error message will be shown now. 14413
* `TRUE`/`FALSE`/`NIL` constants are no longer...

rdoc (282.0)

RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。

...トールすれば、'rdoc' コマンドでドキュメントが生成できます。
(Windows では 'rdoc.bat' です)

$ rdoc [options] [names...]

"rdoc --help" と打てば、最新のオプションに関する情報が得られます。

$ rdoc

このコマンドでカレントディレ...
...とができます。
例えば、Rdoc そのもののドキュメントを生成する場合は、以下のようにタイプ
します。

$ rdoc --main rdoc/rdoc.rb

RDoc が生成するドキュメントのコメント部で使える様々なマークアップの方法
は以下の markup の...
...書きだします。

: --output dir, --op dir

出力先のディレクトリを dir に設定します(デフォルトは "doc" です)。

: --opname name

出力の名前をnameにします(HTML を出力する場合には何の効果もありません)

: --pipe, -p

標準入力を読...

Kernel.#spawn(env, program, *args, options={}) -> Integer (230.0)

引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。

...ム名になります。
また、第1要素はフルパスで指定しなくても環境変数 PATH から探します。

=== option引数の概要
Hash を options として渡すことで、起動される子プロセスの
* プロセスグループ
* resource limit
* カレントディ...
...を用いて、IO.popen で、子プロセスの
stderr と stdout を混ぜる例を以下に示します。
//emlist[][ruby]{
io = IO.popen(["sh", "-c", "echo out; echo err >&2", :err=>[:child, :out]])
p io.read #=> "out\nerr\n
//}

spawn と IO.popen では
デフォルトでは非標準的なフ...
...5,... (default)
pid = spawn(command, :close_others=>false) # don't close 3,4,5,...
//}

これを利用して spawn を IO.popen のように使うことができます。
//emlist[][ruby]{
# similar to r = IO.popen(command)
r, w = IO.pipe
pid = spawn(command, :out=>w) # r は子プロセスで閉...
...3,4,5,...
pid = spawn(command, :close_others=>false) # don't close 3,4,5,... (default)
//}

これを利用して spawn を IO.popen のように使うことができます。
//emlist[][ruby]{
# similar to r = IO.popen(command)
r, w = IO.pipe
pid = spawn(command, :out=>w) # r は子プロセス...

絞り込み条件を変える

<< 1 2 > >>