るりまサーチ

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

別のキーワード

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

クラス

検索結果

TracePoint#instruction_sequence -> RubyVM::InstructionSequence (18116.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 イベントのための...