33件ヒット
[1-33件を表示]
(0.025秒)
クラス
-
IRB
:: Frame (11) - TracePoint (11)
- Tracer (11)
検索結果
先頭3件
-
TracePoint
# event -> Symbol (21120.0) -
発生したイベントの種類を 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... -
Tracer
# trace _ func(event , file , line , id , binding , klass , *) -> object | nil (9203.0) -
@todo
@todo -
IRB
:: Frame # trace _ func(event , file , line , id , binding) -> Binding (6203.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。