[ruby-core:127202] [Ruby Bug#22462] Method#== can return false for methods that should be considered equal