るりまサーチ

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

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

クラス

モジュール

オブジェクト

キーワード

検索結果

<< < ... 17 18 19 20 21 ... > >>

KeyError (8018.0)

Hash#fetch などで key に対応する value がない場合に発生します。

...Hash#fetch などで key に対応する value がない場合に発生します。

Ruby 1.8 以前では同様の場面で IndexError が発生していました。
互換性のため、KeyError は IndexError のサブクラスになっています。...

Module#ruby2_keywords(method_name, ...) -> nil (8018.0)

For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.

...lat (`*args`) but not explicit keywords or a
keyword splat. It marks the method such that if the method is called
with keyword arguments, the final hash argument is marked with a special
flag such that if it is the final element of a normal argument splat to
another method call, and that method cal...

Proc#ruby2_keywords -> proc (8018.0)

Marks the proc as passing keywords through a normal argument splat. This should only be called on procs that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the proc such that if the proc is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the proc to other methods.

...t splat (`*args`)
but not explicit keywords or a keyword splat. It marks the proc such
that if the proc is called with keyword arguments, the final hash
argument is marked with a special flag such that if it is the final
element of a normal argument splat to another method call, and that
method cal...

Kernel.#exec(command, options={}) -> () (8017.0)

引数で指定されたコマンドを実行します。

...されます。

@param command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash
@raise Errno::EXXX 起動に失敗し、ruby インタプリタに制御が戻った場合に発生します。

//emlist...

Kernel.#exec(env, command, options={}) -> () (8017.0)

引数で指定されたコマンドを実行します。

...されます。

@param command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash
@raise Errno::EXXX 起動に失敗し、ruby インタプリタに制御が戻った場合に発生します。

//emlist...

絞り込み条件を変える

Kernel.#system(command, options={}) -> bool | nil (8017.0)

引数を外部コマンドとして実行して、成功した時に真を返します。

...す。

@param command command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash

//emlist[シェル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}


@see Ke...
...す。

@param command command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash
@raise Errno::EXXX exception: true が指定されていて、コマンドの実行が失敗したときに発生します...

Kernel.#system(env, command, options={}) -> bool | nil (8017.0)

引数を外部コマンドとして実行して、成功した時に真を返します。

...す。

@param command command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash

//emlist[シェル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}


@see Ke...
...す。

@param command command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash
@raise Errno::EXXX exception: true が指定されていて、コマンドの実行が失敗したときに発生します...

GC.latest_gc_info(key) -> object (8016.0)

最新のGCの情報を返します。

...最新のGCの情報を返します。

@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。

@param key 得られる情報か...

IO.popen([env = {}, [cmdname, arg0], *args, execopt={}], mode = "r", opt={}) -> IO (8015.0)

サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。

.../"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}

@param env 環境変数を { 変数名 => 内容 } という形式の Hash で渡します。
@param command コマンド名を文字列で指定します。シェルを経由して実行されます。
@param cmdname コ...
...します
@param args コマンドのパラメータを文字列で指定します
@param execopt プロセス実行に関するオプションを Hash で指定します。
@param mode オープンする IO ポートのモードを指定します。mode の詳細は Kernel.#open 参照して下さ...

IO.popen([env = {}, [cmdname, arg0], *args, execopt={}], mode = "r", opt={}) {|f| ... } -> object (8015.0)

サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。

.../"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}

@param env 環境変数を { 変数名 => 内容 } という形式の Hash で渡します。
@param command コマンド名を文字列で指定します。シェルを経由して実行されます。
@param cmdname コ...
...します
@param args コマンドのパラメータを文字列で指定します
@param execopt プロセス実行に関するオプションを Hash で指定します。
@param mode オープンする IO ポートのモードを指定します。mode の詳細は Kernel.#open 参照して下さ...

絞り込み条件を変える

IO.popen([env = {}, cmdname, *args, execopt={}], mode = "r", opt={}) -> IO (8015.0)

サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。

.../"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}

@param env 環境変数を { 変数名 => 内容 } という形式の Hash で渡します。
@param command コマンド名を文字列で指定します。シェルを経由して実行されます。
@param cmdname コ...
...します
@param args コマンドのパラメータを文字列で指定します
@param execopt プロセス実行に関するオプションを Hash で指定します。
@param mode オープンする IO ポートのモードを指定します。mode の詳細は Kernel.#open 参照して下さ...
<< < ... 17 18 19 20 21 ... > >>