weeks()
Returns a Duration instance matching the number of weeks provided.
2.weeks # => 2 weeks
# File activesupport/lib/active_support/core_ext/numeric/time.rb, line 45 def weeks ActiveSupport::Duration.weeks(self) end