method
advance
v2.1.0 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::Time::Calculations
advance(options)public
Uses <a href="/rails/Date">Date</a> to provide precise Time calculations for years, months, and days. The options parameter takes a hash with any of these keys: :years, :months, :weeks, :days, :hours, :minutes, :seconds.