Method: Xqsr3::Containers::FrequencyMap#each_key
- Defined in:
- lib/xqsr3/containers/frequency_map.rb
#each_key ⇒ Object
Calls block once for each element in the instance, passing the element. If no block is provided, an enumerator is returned
329 330 331 332 333 334 335 336 337 |
# File 'lib/xqsr3/containers/frequency_map.rb', line 329 def each_key return @elements.each_key unless block_given? keys.each do |element| yield element end end |