るりまサーチ (Ruby 2.7.0)

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

検索結果

Benchmark::Report#report(label = "", *fmt) { ... } -> Benchmark::Tms (72943.0)

ラベルと与えられたブロックの実行時間を標準出力に出力します。

ラベルと与えられたブロックの実行時間を標準出力に出力します。

出力のフォーマットは Benchmark::Tms#format が行います。

@param label ラベル
@param fmt 結果に出力したいオブジェクト

@see Benchmark::Tms#format

Benchmark::Job#report(label = "") { ... } -> self (63925.0)

与えられたラベルとブロックをジョブリストに登録します。

与えられたラベルとブロックをジョブリストに登録します。

@param label ラベル

Gem::StreamUI#progress_reporter(*args) -> SilentProgressReporter | SimpleProgressReporter | VerboseProgressReporter (38722.0)

処理の進捗を報告するためのオブジェクトを返します。

処理の進捗を報告するためのオブジェクトを返します。

返されるオブジェクトの種類は現在の設定によります。

@param args 返値となるオブジェクトを初期化するための引数です。

@see Gem::StreamUI::SilentProgressReporter, Gem::StreamUI::SimpleProgressReporter, Gem::StreamUI::VerboseProgressReporter

Thread#report_on_exception -> bool (37090.0)

真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。

真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。

デフォルトはスレッド作成時の Thread.report_on_exception です。

@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。

//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Th...

Thread#report_on_exception=(newstate) (36790.0)

真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。

真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。

デフォルトはスレッド作成時の Thread.report_on_exception です。

@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。

//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Th...

絞り込み条件を変える

Benchmark::Report#item(label = "", *fmt) { ... } -> Benchmark::Tms (27643.0)

ラベルと与えられたブロックの実行時間を標準出力に出力します。

ラベルと与えられたブロックの実行時間を標準出力に出力します。

出力のフォーマットは Benchmark::Tms#format が行います。

@param label ラベル
@param fmt 結果に出力したいオブジェクト

@see Benchmark::Tms#format

Gem::StreamUI::SilentProgressReporter#updated(message) -> nil (27622.0)

何もしません。

何もしません。

@param message 指定しても意味がありません。

Gem::StreamUI::SimpleProgressReporter#updated(message) -> nil (27622.0)

ドットを表示します。

ドットを表示します。

@param message 指定しても意味がありません。

Gem::StreamUI::VerboseProgressReporter#updated(message) -> nil (27622.0)

現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。

現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。

@param message 表示するメッセージを指定します。

Benchmark::Job#item(label = "") { ... } -> self (18625.0)

与えられたラベルとブロックをジョブリストに登録します。

与えられたラベルとブロックをジョブリストに登録します。

@param label ラベル

絞り込み条件を変える