# File lib/multiset.rb, line 69 def each @hash.each_pair do |key, multiplicity| multiplicity.times do yield(key) end end self end