1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/proc/shared
Jeremy Evans 878af5147d 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]
2020-06-19 12:58:25 -07:00
..
call.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
call_arguments.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
compose.rb Update to ruby/spec@35a9fba 2019-01-20 20:38:57 +00:00
dup.rb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
equal.rb Implement Proc#== and #eql? 2020-06-19 12:58:25 -07:00
to_s.rb Proc made by Symbol#to_proc should be a lambda [Bug #16260] 2020-02-19 15:46:26 +09:00