Skip to content

Instantly share code, notes, and snippets.

@patrykkalinowski
Created June 5, 2015 11:10
Show Gist options
  • Save patrykkalinowski/e3750aadf57bfb571962 to your computer and use it in GitHub Desktop.
Save patrykkalinowski/e3750aadf57bfb571962 to your computer and use it in GitHub Desktop.
rufus-scheduler date
date = Date.today
scheduler.in '10d' do
something = Something.new(date)
end
@patrykkalinowski
Copy link
Author

Will new Something be created with date 10 days before or date when scheduler runs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment