-
-
Save saturday/dbda279ee2359409d8d0b0c34a6218fb 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
# The goal is to enumberate over the hashes and find the average minutes for that date. | |
array = [ | |
{:date=>Tue, 12 Jul 2016, :seconds=>837.0}, | |
{:date=>Tue, 09 Aug 2016, :seconds=>337.0}, | |
{:date=>Tue, 09 Aug 2016, :seconds=>418.0}, | |
{:date=>Tue, 09 Aug 2016, :seconds=>836.0} | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment