Flowdock
method

in_weeks

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveSupport::Duration
in_weeks() public

Returns the amount of weeks a duration covers as a float

2.months.in_weeks # => 8.696
Show source
Register or log in to add new notes.