12件ヒット
[1-12件を表示]
(0.020秒)
検索結果
-
TracePoint
# instruction _ sequence -> RubyVM :: InstructionSequence (27119.0) -
script_compiledイベント発生時にコンパイルされた RubyVM::InstructionSequenceインスタンスを返します。
...M::InstructionSequenceインスタンスを返します。
//emlist[例][ruby]{
TracePoint.new(:script_compiled) do |tp|
p tp.instruction_sequence # => <RubyVM::InstructionSequence:block in <main>@(eval):1>
end.enable do
eval("puts 'hello'")
end
//}
@raise RuntimeError :script_compiled イベ... -
NEWS for Ruby 2
. 6 . 0 (42.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ンを維持します。 14850
* TracePoint
* 新機能
* "script_compiled" イベントがサポートされました。 15287
* 新規メソッド
* TracePoint#parameters 14694
* TracePoint#instruction_sequence 15287
* TracePoint#eval_script 15287
* 変更さ......れたメソッド
* TracePoint#enable がキーワード引数 "target:" と "target_line:" を
受け付けるようになりました。 15289
=== 標準添付ライブラリの更新
* BigDecimal
* バージョン 1.4.0 に更新されました。
このバージョ...