Sha256: 67c955ee8faa8222986491d499c737b0e9681f4fa2c0ec34a5efeab5f4393f07
Contents?: true
Size: 243 Bytes
Versions: 55
Compression:
Stored size: 243 Bytes
Contents
class Hash # - should not affect the original # nor delete if the key + value pair aren't equal def -(hash) out = self.dup hash.keys.each do |key| out.delete key if self[key] == hash[key] end out end end
Version data entries
55 entries across 55 versions & 1 rubygems