diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2020-06-01 12:28:05 -0700 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2020-06-19 12:58:25 -0700 |
| commit | 878af5147def7fed089d3cc388742f0111db58ae (patch) | |
| tree | 93e6e68b6b40575f7a1f3a641383c4111f05ef08 /include | |
| parent | b3aff6a11cbc96e5fc6c615d3f7a7a11fda6f59a (diff) | |
Implement Proc#== and #eql?
Previously, these were not implemented, and Object#== and #eql?
were used. This tries to check the proc internals to make sure
that procs created from separate blocks are treated as not equal,
but procs created from the same block are treated as equal, even
when the lazy proc allocation optimization is used.
Implements [Feature #14267]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3174
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
