method
yesterday
v2.1.0 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::Date::Calculations
yesterday()public
Convenience method which returns a new Date/DateTime representing the time 1 day ago
yesterday()Convenience method which returns a new Date/DateTime representing the time 1 day ago