summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMike Dalessio <mike@37signals.com>2026-02-10 12:10:21 -0500
committerTakashi Kokubun <takashikkbn@gmail.com>2026-02-10 10:32:51 -0800
commit0768f08caff514b0ba616dc26d76aad90577eefe (patch)
tree31d0518b1e2aa944f75b4ec28f9a897a5e2fae9d /libexec
parente025c839ac71b609bb50ff74352f9a11cd164c3c (diff)
Fix UnboundMethod#== for methods from included/extended modules [Backport #21873]
Method#unbind clones the method entry, preserving its defined_class. For methods mixed in via include/extend, defined_class is an ICLASS, causing UnboundMethod#== to return false when comparing against the same method obtained via Module#instance_method. Resolve ICLASS defined_class in method_eq. [Bug #21873]
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions