Method: WebMock::Util::HashCounter#initialize
- Defined in:
- lib/webmock/util/hash_counter.rb
#initialize ⇒ HashCounter
Returns a new instance of HashCounter.
10 11 12 13 14 15 |
# File 'lib/webmock/util/hash_counter.rb', line 10 def initialize self.hash = Hash.new(0) @order = {} @max = 0 @lock = ::Mutex.new end |