Please sign in to comment.
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...
Showing with 0 additions and 10 deletions.