Method: WebMock::Util::HashCounter#each
- Defined in:
- lib/webmock/util/hash_counter.rb
#each(&block) ⇒ Object
32 33 34 35 36 |
# File 'lib/webmock/util/hash_counter.rb', line 32 def each(&block) @order.to_a.sort_by { |a| a[1] }.each do |a| yield(a[0], hash[a[0]]) end end |