diff --git a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb index de13f00e60..976a10d0f5 100644 --- a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb @@ -60,12 +60,12 @@ module DateAndTime !WEEKEND_DAYS.include?(wday) end - # Returns true if the date/time before date_or_time. + # Returns true if the date/time falls before date_or_time. def before?(date_or_time) self < date_or_time end - # Returns true if the date/time after date_or_time. + # Returns true if the date/time falls after date_or_time. def after?(date_or_time) self > date_or_time end