JezK
Edit File: %3e%3e-i.ri
U:RDoc::AnyMethod[iI">>:ETI"Date#>>;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I";Returns a date object pointing +n+ months after self. ;TI"0The argument +n+ should be a numeric value.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"=Date.new(2001,2,3) >> 1 #=> #<Date: 2001-03-03 ...> ;TI"=Date.new(2001,2,3) >> -2 #=> #<Date: 2000-12-03 ...> ;T:@format0o; ; [I"CWhen the same day does not exist for the corresponding month, ;TI"/the last day of the month is used instead:;T@o;; [I"<Date.new(2001,1,28) >> 1 #=> #<Date: 2001-02-28 ...> ;TI"<Date.new(2001,1,31) >> 1 #=> #<Date: 2001-02-28 ...> ;T; 0o; ; [I"GThis also results in the following, possibly unexpected, behavior:;T@o;; [ I"BDate.new(2001,1,31) >> 2 #=> #<Date: 2001-03-31 ...> ;TI"BDate.new(2001,1,31) >> 1 >> 1 #=> #<Date: 2001-03-28 ...> ;TI" ;TI"ADate.new(2001,1,31) >> 1 >> -1 #=> #<Date: 2001-01-28 ...>;T; 0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"d >> n -> date ;T0[ I" (p1);T@%FI" Date;TcRDoc::NormalClass00