Created
April 14, 2017 11:00
-
-
Save mh-github/51985d308caa3c48cbea5c4cd30ce08b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| def second_or_fourth_saturday?(date) | |
| date.saturday? && ((date.day - 1) / 7).odd? | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment