← Reference

hash-methods

Ruby hash-methods reference.

Hash#count

Returns the number of key-value pairs in a hash, or the count of entries matching a condition.