Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
today?()
public
Tells whether the Time object’s time is
today
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 68
def today?
self.to_date == ::Date.current
end