Sha256: d6e4f3d38361839c529142f2b96131ab3510d42f96757cd05d7616a6250388cb
Contents?: true
Size: 162 Bytes
Versions: 7
Compression:
Stored size: 162 Bytes
Contents
class Hash # Like Enumerable#count, but counts hash values. # # {:A=>1, :B=>1}.count(1) #=> 2 # def count(value) values.count(value) end end
Version data entries
7 entries across 6 versions & 1 rubygems