Method: WebMock::Util::HashCounter#get

Defined in:
lib/webmock/util/hash_counter.rb

#get(key) ⇒ Object



24
25
26
27
28
# File 'lib/webmock/util/hash_counter.rb', line 24

def get(key)
  @lock.synchronize do
    hash[key]
  end
end