method
fortnights
v3.0.9 -
Show latest stable
- Class:
Numeric
fortnights()public
No documentation available.
# File activesupport/lib/active_support/core_ext/numeric/time.rb, line 57
def fortnights
ActiveSupport::Duration.new(self * 2.weeks, [[:days, self * 14]])
end