るりまサーチ

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

別のキーワード

  1. _builtin enable
  2. mkmf enable_config
  3. net/pop enable_ssl
  4. kernel enable_config
  5. pop enable_ssl

ライブラリ

検索結果

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