Skip to content

Instantly share code, notes, and snippets.

@darrencauthon
Forked from samullen/timeframe.rb
Last active December 21, 2015 13:19
Show Gist options
  • Save darrencauthon/6312296 to your computer and use it in GitHub Desktop.
Save darrencauthon/6312296 to your computer and use it in GitHub Desktop.
start = Date.today
stop = Date.today + 7
(start..stop).each { |x| puts x }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment