るりまサーチ (Ruby 2.7.0)

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

別のキーワード

  1. benchmark report
  2. thread report_on_exception
  3. thread report_on_exception=
  4. _builtin report_on_exception
  5. _builtin report_on_exception=

検索結果

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

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

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

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

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

@see Benchmark::Tms#format

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

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

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

@param label ラベル

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

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

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

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

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

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

Thread#report_on_exception -> bool (18418.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) (18418.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...

絞り込み条件を変える

RDoc::Options#coverage_report -> Integer | false (18355.0)

コマンドライン引数の --coverage-report オプションを指定していた場合、指 定した数値を返します。

コマンドライン引数の --coverage-report オプションを指定していた場合、指
定した数値を返します。

指定しなかった場合は false を返します。

RDoc::Options#coverage_report=(val) (18355.0)

コマンドライン引数の --coverage-report オプションと同様の指定を行います。

コマンドライン引数の --coverage-report オプションと同様の指定を行います。

@param val 数値オブジェクトか false を指定します。

Benchmark::Report#list -> [Benchmark::Tms] (9070.0)

Benchmark::Report#item 実行時に作成された Benchmark::Tms オ ブジェクトの一覧を返します。

Benchmark::Report#item 実行時に作成された Benchmark::Tms オ
ブジェクトの一覧を返します。

@see Benchmark::Report#item

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

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

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

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

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

@see Benchmark::Tms#format

Gem::StreamUI::SilentProgressReporter#count -> nil (9004.0)

何もしません。

何もしません。

絞り込み条件を変える

Gem::StreamUI::SilentProgressReporter#done -> nil (9004.0)

何もしません。

何もしません。

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

何もしません。

何もしません。

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

Gem::StreamUI::SimpleProgressReporter#count -> Integer (9004.0)

Gem::StreamUI::SimpleProgressReporter#updated が呼び出された回数を返します。

Gem::StreamUI::SimpleProgressReporter#updated が呼び出された回数を返します。

Gem::StreamUI::SimpleProgressReporter#done -> nil (9004.0)

終了メッセージを表示します。

終了メッセージを表示します。

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

ドットを表示します。

ドットを表示します。

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

絞り込み条件を変える

Gem::StreamUI::VerboseProgressReporter#count -> Integer (9004.0)

Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。

Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。

Gem::StreamUI::VerboseProgressReporter#done -> nil (9004.0)

終了メッセージを表示します。

終了メッセージを表示します。

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

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

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

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

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

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

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

@param label ラベル