るりまサーチ

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

別のキーワード

  1. rubyvm instruction_names
  2. rexml instruction
  3. instruction content
  4. _builtin instruction_names
  5. instruction content=

ライブラリ

クラス

検索結果

TracePoint#instruction_sequence -> RubyVM::InstructionSequence (18113.0)

script_compiledイベント発生時にコンパイルされた RubyVM::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 (12.0)

NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...15287
* 新規メソッド
* TracePoint#parameters 14694
* TracePoint#instruction_sequence 15287
* TracePoint#eval_script 15287
* 変更されたメソッド
* TracePoint#enable がキーワード引数 "target:" と "target_line:" を
受け付けるよう...