diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2019-08-25 00:04:14 -0700 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2019-10-10 13:15:00 -0700 |
| commit | 2322c94dd65c0247b103e2f91411e37458e1466d (patch) | |
| tree | 80e3bcebe14c0505590ecfff5bc4e622a7e087eb /spec/ruby/core/thread/thread_variable_spec.rb | |
| parent | 41719096957aa3d80e2e23d04ae288d2dee5328e (diff) | |
Support delegates for BasicObject
For BasicObject, bind the Kernel respond_to? instance method to the
object and call it instead of calling the method directly.
Also, use bind_call(recv, ...) for better performance.
Fixes [Bug #16127]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2546
Diffstat (limited to 'spec/ruby/core/thread/thread_variable_spec.rb')
0 files changed, 0 insertions, 0 deletions
