Skip to content

Instantly share code, notes, and snippets.

@ymek
Created September 25, 2012 16:41
Show Gist options
  • Select an option

  • Save ymek/3783034 to your computer and use it in GitHub Desktop.

Select an option

Save ymek/3783034 to your computer and use it in GitHub Desktop.
def get_names_dates_and_urls
data = {}
self.full_match_file.tap { |info| data[info[:date]] = info if should_process_file?(info[:date]) }
get_incremental_names_dates_and_urls.each { |info| data[info[:date]] = info if should_process_file?(info[:date]) }
data
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment