method
advance
v1.1.6 -
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: :months, :days, :years.