るりまサーチ

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

別のキーワード

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

検索結果

<< 1 2 3 > >>

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

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

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

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

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

@see Benchmark::Tms#format

MiniTest::Unit#report -> Array (18102.0)

テストメソッドの実行結果のリストを返します。

テストメソッドの実行結果のリストを返します。

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

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

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

@param label ラベル

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

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

...ます。

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

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

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

Thread#report_on_exception -> bool (6139.0)

真の場合、そのスレッドが例外によって終了した時に、その内容を $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...
...irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Th...
...read:0x00007fc3f48aefc0@(irb):4 dead>
//}

@see Thread.report_on_exception...

絞り込み条件を変える

Thread#report_on_exception=(newstate) (6139.0)

真の場合、そのスレッドが例外によって終了した時に、その内容を $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...
...irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.run # => #<Th...
...read:0x00007fc3f48aefc0@(irb):4 dead>
//}

@see Thread.report_on_exception...

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

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

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

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

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

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

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

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

MiniTest::Unit#report=(list) (6102.0)

テストメソッドの実行結果のリストをセットします。

テストメソッドの実行結果のリストをセットします。

@param list テストメソッドの実行結果のリストを指定します。

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

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

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

@see Benchmark::Report#item...

絞り込み条件を変える

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

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

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

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

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

@see Benchmark::Tms#format

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

何もしません。

何もしません。
<< 1 2 3 > >>