method

in_days

in_days()
public

Returns the amount of days a duration covers as a float

12.hours.in_days # => 0.5