Categories: None [Edit]

multiset

https://rubygems.org/gems/multiset
https://github.com/maraigue/multiset
Unlike ordinary set(see Ruby documentation for "set" library), multiset can contain two or more same items. Set[:a,:b,:c,:b,:b,:c] # => #<Set: {:b, :c, :a}> Multiset[:a,:b,:c,:b,:b,:c] # => #<Multiset:#3 :b, #2 :c, #1 :a> Multisets are typically used for counting elements and their appearances in collections.

Total

Ranking: 9,599 of 188,294
Downloads: 322,183

Daily

Ranking: 5,623 of 188,277
Downloads: 243

Depended by

RankDownloadsName
25,36856,218roundtrip_xml
83,19810,796reddit_bag_of_words

Depends on

RankDownloadsName
179258,621,332rdoc
2,3109,053,729hoe

Owners

#GravatarHandle
1iconmaraigue