method

in_days

Importance_1
v7.1.3.2 - 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.