# File lib/webmock/util/hash_counter.rb, line 10 def put key, num=1 hash[key] = (hash[key] || 0) + num end