method

in_minutes

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveSupport::Duration
in_minutes() public

Returns the amount of minutes a duration covers as a float

1.day.in_minutes # => 1440.0
Show source
Register or log in to add new notes.