method
iso8601
v5.2.3 -
Show latest stable
- Class:
ActiveSupport::Duration
iso8601(precision: nil)public
Build ISO 8601 Duration string for this duration. The precision parameter can be used to limit seconds’ precision of duration.