mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[DOC] Update TracePoint#binding docs for 3.2 behavior
This commit is contained in:
parent
01509f344a
commit
0c0b9191ce
Notes:
git
2023-02-19 20:33:15 +00:00
@ -377,9 +377,8 @@ class TracePoint
|
||||
|
||||
# Return the generated binding object from event.
|
||||
#
|
||||
# Note that for +c_call+ and +c_return+ events, the binding returned is the
|
||||
# binding of the nearest Ruby method calling the C method, since C methods
|
||||
# themselves do not have bindings.
|
||||
# Note that for +c_call+ and +c_return+ events, the method will return
|
||||
# +nil+, since C methods themselves do not have bindings.
|
||||
def binding
|
||||
Primitive.tracepoint_attr_binding
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user