37件ヒット
[1-37件を表示]
(0.041秒)
別のキーワード
種類
- インスタンスメソッド (22)
- 文書 (15)
ライブラリ
- ビルトイン (22)
クラス
- Thread (22)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) - Ruby用語集 (11)
検索結果
先頭4件
-
Thread
# backtrace _ locations(range) -> [Thread :: Backtrace :: Location] | nil (18126.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...指定します。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.run
thread.backtrace_locations # => ["/path/to/test.rb:1:in `sleep'", "/path/to/test.rb:1:in `block in <m... -
Thread
# backtrace _ locations(start = 0 , length = nil) -> [Thread :: Backtrace :: Location] | nil (18126.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...指定します。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.run
thread.backtrace_locations # => ["/path/to/test.rb:1:in `sleep'", "/path/to/test.rb:1:in `block in <m... -
NEWS for Ruby 3
. 0 . 0 (90.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...non-blocking execution contexts. 16786
* Fiber#blocking? tells whether the fiber is non-blocking. 16786
* Fiber#backtrace and Fiber#backtrace_locations provide per-fiber backtrace. 16815
* The limitation of Fiber#transfer is relaxed. 17221
* GC
* GC.auto_compact= and GC.auto_compa......`true` will cause compaction to occur during major collections. At the moment, compaction adds significant overhead to major collections, so please test first! 17176
* Hash
* Hash#transform_keys and Hash#transform_keys! now accept a hash that maps keys to new keys. 16274
* Hash#except h......wait(io, events, timeout)` in a non-blocking execution context. 16786
* Kernel
* Kernel#clone when called with the `freeze: false` keyword will call `#initialize_clone` with the `freeze: false` keyword. 14266
* Kernel#clone when called with the `freeze: true` keyword will call `#initialize... -
Ruby用語集 (66.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...る時点において、そこに至るメソッド呼び出し元情報を遡るデータ。
バックトレースともいう。
Kernel.#caller_locations、Kernel.#caller で現時点までの
スタックトレースを得ることができる。
また、例外オブジェクトは例......よっては「即値」という用語を「リテラル」の意味で使うので注意されたい。
: ソフトウェアテスト
: software testing
プログラムの正しさや性能を調べること。単に「テスト」ともいう。
狭義にはテスト用プログラム(テ......脱出
: non-local exit
Ruby においては、例外の発生もしくは Kernel.#throw によって
処理の実行が中断されること。
例外の場合は begin/rescue によって、throw の場合は
Kernel.#catch によって捕捉されるまで、制御構造やメソッド...