Sha256: 874f04c092d8bf475ff4cda953638fb8447a5d59a743100073b601692ef85371
Contents?: true
Size: 264 Bytes
Versions: 6
Compression:
Stored size: 264 Bytes
Contents
module Kernel # Broad equality. # # Checks to see if the object +x+ is in any # way equal to the reciever, starting with the # identity #equals? and ending with #===. # def equate?(x) equal?(x) || eql?(x) || self == x || self === x end end
Version data entries
6 entries across 6 versions & 1 rubygems