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.

Required Ruby Version

>= 0

Authors

H.Hiro(Maraigue)

Versions

  1. 0.5.3
    1. source

      1. 0.5.3 source April 28, 2017 (24.5 KB)
  2. 0.5.1
    1. source

      1. 0.5.1 source August 10, 2014 (24 KB)
  3. 0.5.0
    1. source

      1. 0.5.0 source May 15, 2014 (24 KB)
  4. 0.4.1
    1. source

      1. 0.4.1 source December 01, 2013 (24 KB)
  5. 0.4.0
    1. source

      1. 0.4.0 source August 15, 2012 (22.5 KB)
Show all versions (7 total)

SHA 256 checksum