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,122 of 198,774
Downloads: 450,062

Daily

Ranking: 7,004 of 198,739
Downloads: 463

Depended by

RankDownloadsName
26,32660,026roundtrip_xml
85,52511,406reddit_bag_of_words

Depends on

RankDownloadsName
142378,331,571rdoc
2,4069,834,922hoe

Owners

#GravatarHandle
1iconmaraigue