instance method
today?
Ruby on Rails 8.0.4
Since v2.2.3Signature
today?()
Returns true if the current object’s time falls within the current day.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 250
def today?
time.today?
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 250
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone