Created
September 30, 2011 23:06
-
-
Save klochner/1255270 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leads_by_email_hash.each_with_index do |hash, index| | |
by_name = leads_by_name_hash[index] | |
if closes_by_email_hash.include?(hash) | |
out += "#{hash[:community]},#{by_name[:name]},#{hash[:email]},#{sources[index]},X\n" | |
elsif closes_by_name_hash.include?(by_name) | |
out += "#{hash[:community]},#{by_name[:name]},#{hash[:email]},#{sources[index]},X\n" | |
end | |
end | |
puts out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment