Created
June 13, 2013 16:12
-
-
Save just3ws/5775012 to your computer and use it in GitHub Desktop.
Give a random time within a window on the next calendar day.
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
1.day.from_now(Time.parse("#{Random.rand(1..5)}:#{Random.rand(0..59)}")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment