Flowdock
method

to_s

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

Returns the amount of seconds a duration covers as a string. For more information check to_i method.

1.day.to_s # => "86400"
Show source
Register or log in to add new notes.