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