APIdock
/
Ruby on Rails
/
Browse
About
method
in_seconds
v6.1.3.1
-
Show latest stable
- Class:
ActiveSupport
::
Duration
in_seconds
()
public
Alias for
ActiveSupport::Duration#to_i
Related methods
Instance methods
%
*
+
+@
-
-@
/
<=>
==
after
ago
as_json
before
coerce
encode_with
eql?
from_now
hash
in_days
in_hours
in_minutes
in_months
in_seconds
in_weeks
in_years
init_with
inspect
instance_of?
is_a?
iso8601
kind_of?
since
to_i
to_s
until
Class methods
===
build
days
hours
minutes
months
new
parse
seconds
weeks
years
Private methods
calculate_total_seconds
method_missing
raise_type_error
respond_to_missing?
sum