Skip to content

Instantly share code, notes, and snippets.

@phsacramento
Created August 14, 2015 15:47
Show Gist options
  • Save phsacramento/4cc14b93e09347d3f6bb to your computer and use it in GitHub Desktop.
Save phsacramento/4cc14b93e09347d3f6bb to your computer and use it in GitHub Desktop.
Date.rb
date = date + 30.days
# OR SIMPLE
20.days.from_now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment