Actions
Bug #16127
closedDelegates to BasicObject do not work
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.0dev (2019-08-25) [x86_64-openbsd6.5]
Backport:
Description
The delegate library does not currently handle BasicObject targets, since it assumes the target responds to respond_to?
. The attached patch works around the issue by binding the Kernel respond_to?
instance method to the target and then calling that.
Files
Actions
Like0
Like0Like0Like0Like0Like0