Method: Weak::Map#each_pair
- Defined in:
- lib/weak/map.rb
#each_pair {|key, value| ... } ⇒ self, Enumerator Also known as: each
Calls the given block once for each live key in self, passing the key
and value as parameters. Returns the weak map itself.
If no block is given, an Enumerator is returned instead.
|
|
# File 'lib/weak/map.rb', line 241
|