JezK
Edit File: %3c%3c-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 before 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-01-03 ...> ;TI"=Date.new(2001,2,3) << -2 #=> #<Date: 2001-04-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,3,28) << 1 #=> #<Date: 2001-02-28 ...> ;TI"<Date.new(2001,3,31) << 1 #=> #<Date: 2001-02-28 ...> ;T; 0o; ; [I"GThis also results in the following, possibly unexpected, behavior:;T@o;; [ I"BDate.new(2001,3,31) << 2 #=> #<Date: 2001-01-31 ...> ;TI"BDate.new(2001,3,31) << 1 << 1 #=> #<Date: 2001-01-28 ...> ;TI" ;TI"ADate.new(2001,3,31) << 1 << -1 #=> #<Date: 2001-03-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