Skip to content

Instantly share code, notes, and snippets.

@kevinquinnyo
Created December 29, 2015 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinquinnyo/4d265852f80bc1f5246c to your computer and use it in GitHub Desktop.
Save kevinquinnyo/4d265852f80bc1f5246c to your computer and use it in GitHub Desktop.
# Check if a row in the master log has already been processed
def is_processed?(row)
value = row[@master_log_header_row.index("Processed")]
return Time.parse(value) rescue false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment