# File multiset.rb, line 256 def each @items.each_pair do |item, count| count.times{ yield item } end self end