diff options
author | zverok <[email protected]> | 2023-02-15 21:30:58 +0200 |
---|---|---|
committer | Victor Shepelev <[email protected]> | 2023-02-19 22:32:52 +0200 |
commit | 0c0b9191ce96413258e8124bb4661ddae60cdf7a (patch) | |
tree | 964d1bc8ce997c1b3a65ddb4023e31f9085a6e6c /trace_point.rb | |
parent | 01509f344a9ebc2f10950f261581c23395d0ab7c (diff) |
[DOC] Update TracePoint#binding docs for 3.2 behavior
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7316
Diffstat (limited to 'trace_point.rb')
-rw-r--r-- | trace_point.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/trace_point.rb b/trace_point.rb index 82604a59f0..ac4086589c 100644 --- a/trace_point.rb +++ b/trace_point.rb @@ -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 |