Method: ActiveSupport::Duration.months
- Defined in:
- activesupport/lib/active_support/duration.rb
.months(value) ⇒ Object
:nodoc:
175 176 177 |
# File 'activesupport/lib/active_support/duration.rb', line 175 def months(value) # :nodoc: new(value * SECONDS_PER_MONTH, { months: value }, true) end |