Method: WebMock::Util::HashCounter#select
- Defined in:
- lib/webmock/util/hash_counter.rb
#select(&block) ⇒ Object
25 26 27 28 29 30 |
# File 'lib/webmock/util/hash_counter.rb', line 25 def select(&block) return unless block_given? @lock.synchronize do hash.select(&block) end end |