File: //usr/local/rvm/gems/ruby-2.7.4/doc/activesupport-6.1.4.1/ri/ActiveSupport/TimeWithZone/ago-i.ri
U:RDoc::AnyMethod[iI"ago:ETI"$ActiveSupport::TimeWithZone#ago;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"NSubtracts an interval of time from the current object's time and returns ;TI"-the result as a new TimeWithZone object.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"PTime.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
;TI"Mnow = Time.zone.now # => Mon, 03 Nov 2014 00:26:28.725182881 EST -05:00
;TI"Mnow.ago(1000) # => Mon, 03 Nov 2014 00:09:48.725182881 EST -05:00
;T:@format0o;
; [I"NIf we're subtracting a Duration of variable length (i.e., years, months, ;TI"Mdays), move backward from #time, otherwise move backward from #utc, for ;TI"0accuracy when moving across DST boundaries.;T@o;
; [I"PFor instance, <tt>time.ago(24.hours)</tt> will move back exactly 24 hours, ;TI"Mwhile <tt>time.ago(1.day)</tt> will move back 23-25 hours, depending on ;TI"
the day.;T@o;; [I"Mnow.ago(24.hours) # => Sun, 02 Nov 2014 01:26:28.725182881 EDT -04:00
;TI"Lnow.ago(1.day) # => Sun, 02 Nov 2014 00:26:28.725182881 EDT -04:00;T;
0:
@fileI")lib/active_support/time_with_zone.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(other);T@#FI"TimeWithZone;TcRDoc::NormalClass00