HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activesupport-7.0.4.2/ri/ActiveSupport/Duration/to_i-i.ri
U:RDoc::AnyMethod[iI"	to_i:ETI"!ActiveSupport::Duration#to_i;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"AReturns the number of seconds that this Duration represents.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"1.minute.to_i   # => 60
;TI"1.hour.to_i     # => 3600
;TI" 1.day.to_i      # => 86400
;T:@format0o;
;	[I"@Note that this conversion makes some assumptions about the ;TI"Cduration of some periods, e.g. months are always 1/12 of year ;TI"!and years are 365.2425 days:;T@o;;	[
I"(# equivalent to (1.year / 12).to_i
;TI""1.month.to_i    # => 2629746
;TI"
;TI"(# equivalent to 365.2425.days.to_i
;TI"#1.year.to_i     # => 31556952
;T;
0o;
;	[	I" In such cases, Ruby's core ;TI"FDate[https://ruby-doc.org/stdlib/libdoc/date/rdoc/Date.html] and ;TI"_Time[https://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html] should be used for precision ;TI"date and time arithmetic.;T:
@fileI"#lib/active_support/duration.rb;T:0@omit_headings_from_table_of_contents_below000[[I"in_seconds;To;;	[;@&;0I"();T@&FI"
Duration;TcRDoc::NormalClass00