# File multiset.rb, line 585 def subtract!(other) other.each_pair do |item, count| self.delete(item, count) end self end