Sha256: b3e6b48caba0625be615f26432d526d59bfdb673093cf91ef683ed843f7b10f0
Contents?: true
Size: 184 Bytes
Versions: 73
Compression:
Stored size: 184 Bytes
Contents
unless Hash.method_defined? :keep_if class Hash def keep_if return to_enum(:keep_if) unless block_given? delete_if{|key, value| ! yield key, value} end end end
Version data entries
73 entries across 73 versions & 5 rubygems