# File multiset/multiset.rb, line 475 def merge!(other) other.each_pair do |item, count| self.add(item, count) end self end