3件ヒット
[1-3件を表示]
(0.018秒)
クラス
-
IRB
:: Frame (1) - TracePoint (1)
- Tracer (1)
検索結果
先頭3件
-
TracePoint
# event -> Symbol (63361.0) -
発生したイベントの種類を Symbol で返します。
発生したイベントの種類を Symbol で返します。
発生するイベントの詳細については、TracePoint.new を参照してくださ
い。
@raise RuntimeError イベントフックの外側で実行した場合に発生します。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call, :return) do |tp|
p tp.event
end
trace.enable
foo 1
# => :call
# :return
//} -
Tracer
# trace _ func(event , file , line , id , binding , klass , *) -> object | nil (27610.0) -
@todo
@todo -
IRB
:: Frame # trace _ func(event , file , line , id , binding) -> Binding (18610.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。