るりまサーチ

最速Rubyリファレンスマニュアル検索!
7件ヒット [1-7件を表示] (0.080秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:end[x] > クエリ:eval[x] > クエリ:instruction_sequence[x]

別のキーワード

  1. _builtin eval
  2. _builtin instance_eval
  3. kernel eval
  4. _builtin module_eval
  5. _builtin class_eval

ライブラリ

クラス

検索結果

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