Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not undef =~ unless defined (#2149)
Undefining a nonexistent definition is an error in Ruby. This has not been a problem because there always was `Object#=~` predefined. But we are planning to delete that useless method. This would become an error unless properly guarded.
- Loading branch information