зеркало из https://github.com/github/ruby.git
[DOC] Update TracePoint#binding docs for 3.2 behavior
This commit is contained in:
Родитель
01509f344a
Коммит
0c0b9191ce
|
@ -377,9 +377,8 @@ class TracePoint
|
||||||
|
|
||||||
# Return the generated binding object from event.
|
# Return the generated binding object from event.
|
||||||
#
|
#
|
||||||
# Note that for +c_call+ and +c_return+ events, the binding returned is the
|
# Note that for +c_call+ and +c_return+ events, the method will return
|
||||||
# binding of the nearest Ruby method calling the C method, since C methods
|
# +nil+, since C methods themselves do not have bindings.
|
||||||
# themselves do not have bindings.
|
|
||||||
def binding
|
def binding
|
||||||
Primitive.tracepoint_attr_binding
|
Primitive.tracepoint_attr_binding
|
||||||
end
|
end
|
||||||
|
|
Загрузка…
Ссылка в новой задаче