Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove duplication from date_time calculations
Methods: :past? and :future? are already defined identically in date_and_time/calculations.rb which is included in Date. Because DateTime is a subclass of Date, it can call them.
- Loading branch information