Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Receive: only avoid overriding own methods
Fix: #1530 My understanding of this `next if method_defined?` check that there since this class was added in 08ec2e8 is that it's to prevent accidentally overriding Matcher or own methods. If my understanding is correct, then we should ignore methods inherited from `Object`.
- Loading branch information
a2af97d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has this been released?
a2af97d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks included in 3.12.4 thanks
![image](https://private-user-images.githubusercontent.com/99191/283712149-c8b4810c-8884-469d-9530-604c28d81348.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1MTAwMjcsIm5iZiI6MTcyNDUwOTcyNywicGF0aCI6Ii85OTE5MS8yODM3MTIxNDktYzhiNDgxMGMtODg4NC00NjlkLTk1MzAtNjA0YzI4ZDgxMzQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDE0Mjg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhNWJhN2Q5NzljMzExNzIxZDBmZjIzMzRiYWEwZDU1NzA3ZGMzMTJhMDkxZmVkYmY0MjA1M2YzMWE5MzcwMTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Uzn_CAACRxusLNf48QQgPHfWhUDeqR73SCIorL1CRKs)