Method: Mailmap::Map#each
- Defined in:
- lib/mailmap/map.rb
permalink #each ⇒ Object
[View source]
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/mailmap/map.rb', line 33 def each return enum_for unless block_given? @map.each do |commit_email, entries_by_commit_name| entries_by_commit_name.each do |commit_name, (proper_name, proper_email)| yield proper_name, proper_email, commit_name, commit_email end end self end |