method

in_days

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: ActiveSupport::Duration
in_days() public

Returns the amount of days a duration covers as a float

12.hours.in_days # => 0.5
Show source
Register or log in to add new notes.