multiset 0.4.0
Unlike ordinary set(see Ruby documentation for "set" library), multiset can contain two or more same items. Set[:a,:b,:c,:b,:b,:c] # => # Multiset[:a,:b,:c,:b,:b,:c] # => # Multisets are typically used for counting elements and their appearances in collections.