Method: WebMock::Util::HashCounter#select
- Defined in:
- lib/webmock/util/hash_counter.rb
#select(&block) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/webmock/util/hash_counter.rb', line 30 def select(&block) return unless block_given? @lock.synchronize do hash.select(&block) end end |