るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

検索結果

<< 1 2 3 ... > >>

rdoc (26024.0)

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

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

このパッケージは RDoc と Markup というふたつのコンポーネントを含
んでいます。 RDoc とは Ruby...
...てきます(include,require もです)。そ
してこれらの内容とその直前に書かれたコメントを併合し、ドキュメントを出
力します(現在は HTML しか出力できませんが、この部分は取り替え可能にでき
ています)。Markup とはプレーンテ...
...(デフォルトではパブリックメソッドのみです)。

: --charset charset

生成する HTML の charset を指定します。

可能であれば --encoding を使用してください。

: --coverage-report level, --dcov level

ドキュメントが記述されていない要...

Benchmark::Report (24000.0)

Benchmark.#benchmark メソッドや Benchmark.#bm メソッドの 内部で使用されているクラスです。

...Benchmark.#benchmark メソッドや Benchmark.#bm メソッドの
内部で使用されているクラスです。

このライブラリのユーザーが直接意識する必要はありません。...

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

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

...ます。

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

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

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

Gem::StreamUI::SilentProgressReporter (18000.0)

何もしない進捗報告のクラスです。

何もしない進捗報告のクラスです。

Gem::StreamUI::SimpleProgressReporter (18000.0)

シンプルな表示を行う進捗報告のクラスです。

シンプルな表示を行う進捗報告のクラスです。

絞り込み条件を変える

Gem::StreamUI::VerboseProgressReporter (18000.0)

現在の進捗に関するメッセージを表示する進捗報告のクラスです。

現在の進捗に関するメッセージを表示する進捗報告のクラスです。

Net::HTTPAlreadyReported (18000.0)

HTTP レスポンス 208 (Already Reported) を表現するクラスです。

...HTTP レスポンス 208 (Already Reported) を表現するクラスです。

詳しくは 5842 を見てください。...

Thread#report_on_exception -> bool (15238.0)

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

...tderr に報告します。

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

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

//emlist[例][ruby]{
a = Thread.new{ Threa...
...stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(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 # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}

@see Thread.report_on_exception...

Thread#report_on_exception=(newstate) (15238.0)

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

...tderr に報告します。

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

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

//emlist[例][ruby]{
a = Thread.new{ Threa...
...stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(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 # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}

@see Thread.report_on_exception...

Thread.report_on_exception -> bool (15220.0)

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

...容を $stderr に報告します。

デフォルトは true です。

Thread.new { 1.times { raise } }

は $stderr に以下のように出力します:

#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `blo...
...ck in <main>'
1: from -e:1:in `times'

これによってスレッドのエラーを早期に捕捉できるようになります。
いくつかのケースでは、この出力を望まないかもしれません。
出力を抑制するには複数の方法があります:

* 例外が...
...近い場所で rescue して、
その例外でスレッドが終了しないようにするのがより良い方法です。
* Thread#join や Thread#value でそのスレッドの終了を待つことが保証できるなら、
スレッド開始時に Thread.current.report_on_exception =...

絞り込み条件を変える

<< 1 2 3 ... > >>