class DateTime

def past?

Tells whether the DateTime object's datetime lies in the past.
def past?
  self < ::DateTime.current
end