From a2a3fa8d7df0a79145c93dd21a10104053554499 Mon Sep 17 00:00:00 2001 From: Aaron Sumner Date: Thu, 24 May 2018 15:39:37 -0700 Subject: Improve grammar for DateAndTime before? and after? calculations [ci skip] --- .../lib/active_support/core_ext/date_and_time/calculations.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3