past?()
Returns true if the Date object’s date lies in the past. Otherwise returns false.
# File activesupport/lib/active_support/core_ext/date/calculations.rb, line 44 def past? self < ::Date.current end