[ruby-core:111106] [Ruby master Feature#18798] `UnboundMethod#==` with inherited classes