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
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
..
argf
array
basicobject
binding
builtin_constants
class
comparable
complex
data
dir
encoding
enumerable
enumerator
env ENV.delete should return the result of block on non-existing key 2020-06-10 12:49:27 -07:00
exception Fix build failures 2020-06-06 13:02:08 -04:00
false
fiber
file
filetest
float
gc
hash
integer
io Refined ioctl error description 2020-06-11 14:31:39 +09:00
kernel Suppress warnings [Feature #15973] 2020-06-13 22:57:31 +09:00
main
marshal
matchdata
math
method
module Ensure origins for all included, prepended, and refined modules 2020-06-03 09:50:37 -07:00
mutex
nil
numeric
objectspace
proc Implement Proc#== and #eql? 2020-06-19 12:58:25 -07:00
process
queue
random
range
rational
regexp
signal
sizedqueue
string
struct
symbol
systemexit
thread
threadgroup
time
tracepoint
true
unboundmethod
warning