Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a SetLike module that contains the duck-typed comparisons.
This fixes #5227 for the methods mentioned there.
- Loading branch information
Showing
2 changed files
with
130 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maybe these can be directly on set.rb as in MRI - to not add "custom" constants into the global name-space.
since it leaks on other places ... or make it a
private_constant