Created
July 10, 2014 09:39
-
-
Save asaaki/b89e0b848f5a84e1e0fb to your computer and use it in GitHub Desktop.
Stuff
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
sunday = (Date.today .. (Date.today + 7)).detect { |date| date.cwday == 7 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment