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,923 of 187,267
Downloads: 290,453

Daily

Ranking: 6,496 of 187,255
Downloads: 206

Depended by

RankDownloadsName
25,46354,748roundtrip_xml
83,17510,581reddit_bag_of_words

Depends on

RankDownloadsName
185242,112,062rdoc
2,2868,956,926hoe

Owners

#GravatarHandle
1iconmaraigue